Drag & Drop behavior script interface

The IDragDropBehaviorInstance interface derives from IBehaviorInstance to add APIs specific to the Drag & Drop behavior.

Drag & Drop behavior events

See behavior instance event for standard behavior instance event object properties.

Fired when the object starts being dragged.
Fired when the object is dropped after being dragged.

Drag & Drop behavior APIs

Set or get a string indicating if the dragging is locked to a specific axes, which must be one of "horizontal", "vertical" or "both".
Call while dragging to force the object to be dropped.
A read-only boolean indicating if the object is currently being dragged.
A boolean indicating if the behavior is enabled. If disabled, the behavior no longer has any effect on the object.
Construct 3 Manual 2022-08-31