Search

Snap to Grid Example

Snap to Grid Example
Let’s try to make a draggable motion div always snap to one of the intersections of a grid. When you release a draggable element, a decelerating momentum animation starts. We can change—modify—the endpoint of that animation with modifyTarget() and direct it to one of a grid’s intersection points. The grid below is 150 by 150 […]
To access this page, you must purchase The Mighty Motion Guide.
Scroll to Top