# Align

> Defines the alignment behavior along an axis.

## Definition

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

```csharp
public enum Align
```

## Fields

| Value                                                                                  | Description                                                        |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [Auto](/engine/6000.6/script-reference/unityengine/uielements/align/auto.md)           | Let Flex decide.                                                   |
| [Center](/engine/6000.6/script-reference/unityengine/uielements/align/center.md)       | Items are centered on the axis.                                    |
| [FlexEnd](/engine/6000.6/script-reference/unityengine/uielements/align/flexend.md)     | End margin of the item is placed at the end of the axis.           |
| [FlexStart](/engine/6000.6/script-reference/unityengine/uielements/align/flexstart.md) | Start margin of the item is placed at the start of the axis.       |
| [Stretch](/engine/6000.6/script-reference/unityengine/uielements/align/stretch.md)     | Default. stretch to fill the axis while respecting min/max values. |
