Some Examples » 12. Drag: Direction locking
12. Drag: Direction locking
Limit dragging to one direction (at a time) by switching on dragDirectionLock
. Because of the dragConstraints
, this box will also jump back to its initial position.
Limit dragging to one direction (at a time) by switching on dragDirectionLock
. Because of the dragConstraints
, this box will also jump back to its initial position.