2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

UIDragDetectorResponseStyle

Describes how the clicked GuiObject will be treated once the desired motion has been calculated.

Items

NameValueDescription
Offset0Move by the Offset values of the detector's parent's GuiObject.Position value.
Scale1Move by the Scale values of the detector's parent's GuiObject.Position value.
CustomOffset2The UI element will not move at all, but the Offset values of the detector's DragUDim2 will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like.
CustomScale3The UI element will not move at all, but the Scale values of the detector's DragUDim2 will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like.

Offset

Move by the Offset values of the detector's parent's GuiObject.Position value.

FieldValue
value0

Scale

Move by the Scale values of the detector's parent's GuiObject.Position value.

FieldValue
value1

CustomOffset

The UI element will not move at all, but the Offset values of the detector's DragUDim2 will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like.

FieldValue
value2

CustomScale

The UI element will not move at all, but the Scale values of the detector's DragUDim2 will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like.

FieldValue
value3