You can limit a element’s ‘draggability’ to only the x- or y-axis or have it lock to a direction when you start dragging. Only horizontally or verticallyDirection lockNested elementsLeft exampleRight example Only horizontally or vertically Instead of setting drag to true (which enables dragging in all directions), you can also set it to "x" or …
Axis and Direction Locking Read More »
To access this page, you must purchase The Mighty Motion Guide.