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
Name | Value | Summary |
---|---|---|
Parent | 0 | Designates the input and return values' space as the local space of the detector's parent GuiObject. |
LayerCollector | 1 | Designates the input and return values' space as that of the LayerCollector. |
Reference | 2 | 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. |