Maybe you could explain what you are trying to do, so an answer can be given?
Objects without behaviours and/or actions attached will allways stay at the same position, so a fixed x, but ofcourse also a fixed y..
Well, it uses moving of enemies.
So, Object.X is changed by passing time.
I want to anchor to fix x of objects.
For example, the x of object is 1500
object is going to 1450
and if reached, going to 1550
and again going to 1450
and if reached, going to 1550
How can I solve this problem?