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.

ScrollBarInset

This enum is used with ScrollingFrame.HorizontalScrollBarInset and ScrollingFrame.VerticalScrollBarInset to indicate whether the canvas should be inset by ScrollBarThickness for the respective scroll bar.

Items

NameValueDescription
None0The canvas will never be inset for the respective scroll bar.
ScrollBar1The canvas will only be inset if the respective scroll bar is showing.
Always2The canvas will always be inset for the respective scroll bar, regardless of whether that scroll bar is showing.

None

The canvas will never be inset for the respective scroll bar.

FieldValue
value0

ScrollBar

The canvas will only be inset if the respective scroll bar is showing.

FieldValue
value1

Always

The canvas will always be inset for the respective scroll bar, regardless of whether that scroll bar is showing.

FieldValue
value2