# Enum.AutoIndentRule

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

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

Specifies how Roblox Studio automatically indents lines in the script editor.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Off` | 0 | Disables automatic indentation. |
| `Absolute` | 1 | Indents new lines according to the script's block structure. |
| `Relative` | 2 | Indents new lines according to the script's block structure and the indentation of the reference line. |

## Used by

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

- [Studio](https://rapi.sleaze.dev/classes/Studio.md): property `Auto Indent Rule`
