# unityTextAlign

> Horizontal and vertical text alignment in the element's box.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
TextAnchor unityTextAlign { get; }
```

### Remarks

This property is inherited by default.
