Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ScrollingDirection
This enum is used by ScrollingFrame.ScrollingDirection to specify the direction(s) in which scrolling is allowed.
Items
| Name | Value | Description |
|---|---|---|
| X | 1 | The canvas can only be scrolled along the X axis. |
| Y | 2 | The canvas can only be scrolled along the Y axis. |
| XY | 4 | The canvas can be scrolled along both the X and Y axes. |
X
The canvas can only be scrolled along the X axis.
| Field | Value |
|---|---|
| value | 1 |
Y
The canvas can only be scrolled along the Y axis.
| Field | Value |
|---|---|
| value | 2 |
XY
The canvas can be scrolled along both the X and Y axes.
| Field | Value |
|---|---|
| value | 4 |