UIDragDetectorDragSpace

Used with DragDetector to set the paradigm which defines the space of inputs/outputs from a custom drag function registered through SetDragStyleFunction() or AddConstraintFunction().

Items

NameValueSummary
Parent0

Designates the input and return values' space as the local space of the detector's parent GuiObject.

LayerCollector1

Designates the input and return values' space as that of the LayerCollector.

Reference2

Designates the input and return values' space as that of the ReferenceUIInstance. For DragRelativity and DragUDim2 purposes, the (0, 0) origin is the absolute center position of the ReferenceUIInstance.

If ReferenceUIInstance is not nil, this will behave the same as Parent.

On this page