---
name: ScrollingDirection
last_updated: 2026-06-11T23:11:58Z
type: enum
summary: "This enum is used by ScrollingFrame.ScrollingDirection to specify the direction(s) in which scrolling is allowed."
---

# ScrollingDirection

This enum is used by [ScrollingFrame.ScrollingDirection](/docs/reference/engine/classes/ScrollingFrame.md) to specify the
direction(s) in which scrolling is allowed.

**Type:** enum

## 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. |