---
name: TextYAlignment
last_updated: 2026-06-11T23:11:58Z
type: enum
summary: "Determines vertical alignment of text."
---

# TextYAlignment

Determines vertical alignment of text.

**Type:** enum

## Description

Determines vertical alignment of text.

Used by [TextLabel](/docs/reference/engine/classes/TextLabel.md),
[TextButton](/docs/reference/engine/classes/TextButton.md), and
[TextBox](/docs/reference/engine/classes/TextBox.md).

## 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. |