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.

ScrollingDirection

This enum is used by ScrollingFrame.ScrollingDirection to specify the direction(s) in which scrolling is allowed.

Items

NameValueDescription
X1The canvas can only be scrolled along the X axis.
Y2The canvas can only be scrolled along the Y axis.
XY4The canvas can be scrolled along both the X and Y axes.

X

The canvas can only be scrolled along the X axis.

FieldValue
value1

Y

The canvas can only be scrolled along the Y axis.

FieldValue
value2

XY

The canvas can be scrolled along both the X and Y axes.

FieldValue
value4