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
| Name | Value | Description |
|---|---|---|
| XY | 0 | 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. |
| XX | 1 | 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. |
| YY | 2 | 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. |
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.
| Field | Value |
|---|---|
| value | 0 |
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.
| Field | Value |
|---|---|
| value | 1 |
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.
| Field | Value |
|---|---|
| value | 2 |