IS this possible?

so there is kinf of a bug in my game :/
my actor moves from left to right and i made it so it could move to three different positions.
left Middle and right.
i made it so when left side is clicked move one position over and vise a versa for the right side.
but if i click fast enough on the left side my actor will fly off screen.
is there a way to constrant actor with in two coordinates

Eg Min10 max200?

this bug is really bothering me can any body help with any other ideas of how to stop this bug?

Comments

Sign In or Register to comment.