Skip to content

TextXAlignment

Supported Enum

Determines horizontal alignment of text.

Description

Determines horizontal alignment of text.

Used by TextLabel, TextButton, and TextBox.

Items

Item Value Status Notes
Left 0 Supported Alignment starts at the left side of the GUI object.
Right 1 Supported Alignment starts at the right side of the GUI object.
Center 2 Supported Aligned starts at the center of the GUI object and spreads equally left and right.

Roblox reference: TextXAlignment