# Enum.TextYAlignment

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

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

Determines vertical alignment of text.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Top` | 0 | Alignment starts at the top of the GUI object. |
| `Center` | 1 | Aligned starts at the center of the GUI object and spreads equally toward the top and bottom. |
| `Bottom` | 2 | Alignment starts at the bottom of the GUI object. |

## 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 `TextYAlignment`
- [TextBox](https://rapi.sleaze.dev/classes/TextBox.md): property `TextYAlignment`
- [TextButton](https://rapi.sleaze.dev/classes/TextButton.md): property `TextYAlignment`
- [TextLabel](https://rapi.sleaze.dev/classes/TextLabel.md): property `TextYAlignment`
