/LimitDragAndDrop

Limit drag & drop behavior to be horizontal or vertical

MIT LicenseMIT

Limit Drag & Drop

Use this to set limit the draggable object to only move horizontally or vetically.

How to use

  • 1 - Add the behavior LimitDragAndDrop to any object.
  • 2 - In your events add one of the two available actions.

Actions

  • Limit to move only horizontally
  • Limit to move only vertically