hi, in my app i moev my sprite in a map where i have 9 squares
the sprite is allways centerd (pin to) every square
for the movement i use a score, every time i move, 1 point is removed when the score is at 0 the player cant move.
the problem is, i can move to anywhere in those 9 squares, HOW to move allways from the current position to only the next square close to the actual position?
i use the mouse object for clicked objects