drag circle inside squares (ticking movement)

I want to drag a circle (chip) inside squares in a way where the chip moves instantly not smoothly
for examply if i drag the chip from number 1 to 2 it will instantly appear at 2.
How do i constrain an actor's x and y position to a "ticking" movement, like every 30 pixels ro so

Comments

Sign In or Register to comment.