# Enum.TextXAlignment

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

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

Determines horizontal alignment of text.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Left` | 0 | Alignment starts at the left side of the GUI object. |
| `Right` | 1 | Alignment starts at the right side of the GUI object. |
| `Center` | 2 | Aligned starts at the center of the GUI object and spreads equally left and right. |

## Used by

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

- [InputActionLabel](https://rapi.sleaze.dev/classes/InputActionLabel.md): property `TextXAlignment`
- [TextBox](https://rapi.sleaze.dev/classes/TextBox.md): property `TextXAlignment`
- [TextButton](https://rapi.sleaze.dev/classes/TextButton.md): property `TextXAlignment`
- [TextLabel](https://rapi.sleaze.dev/classes/TextLabel.md): property `TextXAlignment`
