Sets object.x to self.x