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.

HorizontalAlignment

Used by UIGridStyleLayout.HorizontalAlignment to align the layout horizontally within its parent.

Items

NameValueDescription
Center0Grid is aligned to the center of its parent along the X axis.
Left1Grid is aligned to the left edge of its parent.
Right2Grid is aligned to the right edge of its parent.

Center

Grid is aligned to the center of its parent along the X axis.

FieldValue
value0

Left

Grid is aligned to the left edge of its parent.

FieldValue
value1

Grid is aligned to the right edge of its parent.

FieldValue
value2