Drag Circle To Snap To Grid

game

Click and drag this circle movieclip around on the screen and it will snap to the grid shown. The circle is also confined to the grid so it cannot be dragged out. Math.round is used to restrict the movieclip to move within large gaps (the grid) and not smoothly with the mouse.

Developer: Trevor McCauley
Language: en