# VerticalAlignment

## Overview

VerticalAlignment is an Enum that specifies the vertical alignment method for UI elements.

It is used as the VerticalAlignment property in GuiBase and its subclasses, determining how an element is aligned vertically within its parent container.

## Items

| Name   | Value | Description                                                 |
| ------ | ----- | ----------------------------------------------------------- |
| Center | 0     | Aligns the element to the center in the vertical direction. |
| Top    | 1     | Aligns the element to the top in the vertical direction.    |
| Bottom | 2     | Aligns the element to the bottom in the vertical direction. |

## See also

{% content-ref url="/pages/5hGnkIB64BrphdiMzufZ" %}
[UIGridStyleLayout](/development/api-reference/classes/uigridstylelayout.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overdare.com/development/api-reference/enums/verticalalignment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
