# TextAnchor

> Where the anchor of the text is placed.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TextRenderingModule

```csharp
public enum TextAnchor
```

## Remarks

This is used by anchor property.

## Fields

| Value                                                                                  | Description                                            |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [LowerCenter](/engine/6000.7/script-reference/unityengine/textanchor/lowercenter.md)   | Text is anchored in lower side, centered horizontally. |
| [LowerLeft](/engine/6000.7/script-reference/unityengine/textanchor/lowerleft.md)       | Text is anchored in lower left corner.                 |
| [LowerRight](/engine/6000.7/script-reference/unityengine/textanchor/lowerright.md)     | Text is anchored in lower right corner.                |
| [MiddleCenter](/engine/6000.7/script-reference/unityengine/textanchor/middlecenter.md) | Text is centered both horizontally and vertically.     |
| [MiddleLeft](/engine/6000.7/script-reference/unityengine/textanchor/middleleft.md)     | Text is anchored in left side, centered vertically.    |
| [MiddleRight](/engine/6000.7/script-reference/unityengine/textanchor/middleright.md)   | Text is anchored in right side, centered vertically.   |
| [UpperCenter](/engine/6000.7/script-reference/unityengine/textanchor/uppercenter.md)   | Text is anchored in upper side, centered horizontally. |
| [UpperLeft](/engine/6000.7/script-reference/unityengine/textanchor/upperleft.md)       | Text is anchored in upper left corner.                 |
| [UpperRight](/engine/6000.7/script-reference/unityengine/textanchor/upperright.md)     | Text is anchored in upper right corner.                |
