# Enum.ScrollBarInset

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/ScrollBarInset/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/ScrollBarInset

This enum is used with [`ScrollingFrame.HorizontalScrollBarInset`](https://rapi.sleaze.dev/classes/ScrollingFrame.md) and [`ScrollingFrame.VerticalScrollBarInset`](https://rapi.sleaze.dev/classes/ScrollingFrame.md) to indicate whether the canvas should be inset by `ScrollBarThickness` for the respective scroll bar.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `None` | 0 | The canvas will never be inset for the respective scroll bar. |
| `ScrollBar` | 1 | The canvas will only be inset if the respective scroll bar is showing. |
| `Always` | 2 | The canvas will always be inset for the respective scroll bar, regardless of whether that scroll bar is showing. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [ScrollingFrame](https://rapi.sleaze.dev/classes/ScrollingFrame.md): property `HorizontalScrollBarInset`, `VerticalScrollBarInset`
