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.

AutoIndentRule

Controls the behavior selected by the Auto Indent Rule Studio setting.

Items

NameValueDescription
Off0Disables automatic indentation.
Absolute1Indents new lines according to the script's block structure.
Relative2Indents new lines according to the script's block structure and the indentation of the reference line.

Off

Disables automatic indentation.

FieldValue
value0

Absolute

Indents new lines according to the script's block structure.

FieldValue
value1

Relative

Indents new lines according to the script's block structure and the indentation of the reference line.

FieldValue
value2