How can I round the position of a sprite to every 32 pixels?
Sprite.x = Mouse.x (rounded to closest multiple of 32)
round(X/32)*32
Develop games in your browser. Powerful, performant & highly capable.
EZ, thanks