Move actor on x-axis
I want to make an actor move only on the x-axis and not on the y-axis.
In other words I want to make the actor move left when it touch the left screen edge then move right and so on.
So what do I need to do ?
thanks in advance