Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ElasticBehavior
This enum is used by ScrollingFrame.ElasticBehavior to control when elastic scrolling is active on touch‑enabled devices.
Items
| Name | Value | Description |
|---|---|---|
| WhenScrollable | 0 | Scrolling is elastic when there is content to be scrolled to. |
| Always | 1 | Scrolling is always elastic, even when there isn't content available to scroll to. |
| Never | 2 | Scrolling is never elastic and the canvas will never scroll beyond its bounds. |
WhenScrollable
Scrolling is elastic when there is content to be scrolled to.
| Field | Value |
|---|---|
| value | 0 |
Always
Scrolling is always elastic, even when there isn't content available to scroll to.
| Field | Value |
|---|---|
| value | 1 |
Never
Scrolling is never elastic and the canvas will never scroll beyond its bounds.
| Field | Value |
|---|---|
| value | 2 |