11

Bounded Drag & Drop

There is a more up to date version available.

Release Notes

Initial Stable Release.

Version 1.0

ACES

A list of all Actions, Conditions and Expressions supported in this addon.

• Actions

Set {my} {0}

Enable or disable the drag and drop behavior.

Drop {my}

If currently being dragged, force the object to be dropped.

• Conditions

{my} is dragging

True if the object is currently being dragged.

On {my} drag start

Triggered when the object begins to be dragged.

On {my} drop

Triggered when the object is dropped (the drag stops).

{my} is enabled

True if the behavior is enabled.

Bound

• Actions

Bound {my} to {0}

Which to is the object bounded.

Bound {my} by {0}

Set the point object is bounded.

Bound {my} by {0}

Choose whether the object is halted or clamped when bounded.

{my} : Overwrite Origin Position to ({0},{1})

Overwrite the origin point (X,Y) of creation. Becareful when using this.

• Conditions

On {my} any bound exceeded

Triggered when the drag is beyond any kind of boundings.

• Expressions

BoundTo

BoundBy

Return from which point the object is bounded.

BoundMethod

Return whether the object bound method is 'halt' or 'clamped'

• Actions

{my} : Set Bound XYRadius to ({0},{1})

The radius in the X & Y axis it can move from its bound point. Both 0 is 'off'.

{my} : Set Bound XRadius to {0}

The radius in the X-axis it can move from its bound point.

{my} : Set Bound YRadius to {0}

The radius in the Y-axis it can move from its bound point.

• Conditions

Triggered when the drag is beyond any radius boundings.

Triggered when the drag is beyond X radius boundings.

Position

• Actions

{my} : Set Bound Position from ({0},{2}) to ({1},{3})

The X location it can only move from its bound point.

{my} : Set Bound X from {0} to {1}

The X location it can only move from its bound point.

{my} : Set Bound Y from {0} to {1}

The Y location it can only move from its bound point.

• Conditions

On {my} any position exceeded

Triggered when the drag is beyond any position boundings.

On {my} X position exceeded

Triggered when the drag is beyond X position boundings.

• Expressions

Return the X Bound radius length.

Return the Y Bound radius length.

Bound Position

• Expressions

xMinBoundPos

Return the Minimum X Bound Position.

xMaxBoundPos

Return the Maximum X Bound Position.

yMinBoundPos

Return the Minimum Y Bound Position.

yMaxBoundPos

Return the Maximum Y Bound Position.

Bound Origin

• Expressions

xOrigin

Return the Origin X of creation.

yOrigin

Return the Origin Y of creation.