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 verticallyInstead of setting drag to true (which enables dragging in all directions), you can also set it to “x” or “y”; […]
To access this page, you must purchase The Mighty Motion Guide.