1 min read

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

UIDragSpeedAxisMapping

Used with UIDragDetector.UIDragSpeedAxisMapping to determine the X/Y dimension dragging speeds, based on the detector's SelectionModeDragSpeed.

Items

NameValueDescription
XY0Default setting for a detector's UIDragSpeedAxisMapping where the X and Y axis speeds are based off the X and Y Scale/Offset values respectively.
XX1Both the X and Y axis speeds are based off the X axis for Scale, while the Offset values still apply to their respective axis.
YY2Both the X and Y axis speeds are based off the Y axis for Scale, while the Offset values still apply to their respective axis.

XY

Default setting for a detector's UIDragSpeedAxisMapping where the X and Y axis speeds are based off the X and Y Scale/Offset values respectively.

FieldValue
value0

XX

Both the X and Y axis speeds are based off the X axis for Scale, while the Offset values still apply to their respective axis.

FieldValue
value1

YY

Both the X and Y axis speeds are based off the Y axis for Scale, while the Offset values still apply to their respective axis.

FieldValue
value2