Creator Hub
Dashboard
Documentation
Store
Talent
Forum
Roadmap
Engine
/
Reference
/
Classes
Feedback
Edit
UIDragDetector
Show Deprecated
Not Browsable
Summary
Properties
ActivatedCursorIcon
:
Content
Read Parallel
BoundingUI
:
GuiBase2d
Read Parallel
CursorIcon
:
Content
Read Parallel
DragAxis
:
Vector2
Read Parallel
DragRelativity
:
Enum.UIDragDetectorDragRelativity
Read Parallel
DragRotation
:
number
Read Parallel
DragSpace
:
Enum.UIDragDetectorDragSpace
Read Parallel
DragStyle
:
Enum.UIDragDetectorDragStyle
Read Parallel
DragUDim2
:
UDim2
Read Parallel
Enabled
:
bool
Read Parallel
MaxDragAngle
:
number
Read Parallel
MaxDragTranslation
:
UDim2
Read Parallel
MinDragAngle
:
number
Read Parallel
MinDragTranslation
:
UDim2
Read Parallel
ReferenceUIInstance
:
GuiObject
Read Parallel
ResponseStyle
:
Enum.UIDragDetectorResponseStyle
Read Parallel
View all inherited from Instance
Methods
AddConstraintFunction
(
priority :
number
,
function :
function
)
:
RBXScriptConnection
GetReferencePosition
()
:
UDim2
GetReferenceRotation
()
:
number
SetDragStyleFunction
(
function :
function
)
:
void
View all inherited from Instance
Events
DragContinue
(
inputPosition :
Vector2
)
:
RBXScriptSignal
DragEnd
(
inputPosition :
Vector2
)
:
RBXScriptSignal
DragStart
(
inputPosition :
Vector2
)
:
RBXScriptSignal
View all inherited from Instance
Properties
ActivatedCursorIcon
Content
Read Parallel
BoundingUI
GuiBase2d
Read Parallel
CursorIcon
Content
Read Parallel
DragAxis
Vector2
Read Parallel
DragRelativity
Enum.UIDragDetectorDragRelativity
Read Parallel
DragRotation
number
Read Parallel
DragSpace
Enum.UIDragDetectorDragSpace
Read Parallel
DragStyle
Enum.UIDragDetectorDragStyle
Read Parallel
DragUDim2
UDim2
Read Parallel
Enabled
bool
Read Parallel
MaxDragAngle
number
Read Parallel
MaxDragTranslation
UDim2
Read Parallel
MinDragAngle
number
Read Parallel
MinDragTranslation
UDim2
Read Parallel
ReferenceUIInstance
GuiObject
Read Parallel
ResponseStyle
Enum.UIDragDetectorResponseStyle
Read Parallel
View all inherited from Instance
Methods
AddConstraintFunction
RBXScriptConnection
Parameters
priority
:
number
function
:
function
Returns
RBXScriptConnection
GetReferencePosition
UDim2
Returns
UDim2
GetReferenceRotation
number
Returns
number
SetDragStyleFunction
void
Parameters
function
:
function
Returns
void
View all inherited from Instance
Events
DragContinue
Parameters
inputPosition
:
Vector2
DragEnd
Parameters
inputPosition
:
Vector2
DragStart
Parameters
inputPosition
:
Vector2
View all inherited from Instance