Roblox UtilitiesDevlHub Roblox Documentation

Enum

UIDragDetectorDragSpace

Used with DragDetector to set the paradigm which defines the space of inputs/outputs from a custom drag function.

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 3#

NameValueSummary
Parent0Designates the input and return values' space as the local space of the detector's parent GuiObject.
LayerCollector1Designates the input and return values' space as that of the LayerCollector.
Reference2Designates 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.