# Align (New!)

{% hint style="info" %}
Click the save icon at any time to save your current parameters as the new defaults.
{% endhint %}

<div><figure><img src="/files/YOrXJCo60iUa14R3vlrA" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/1KYjt4HSXDjxW1noelMq" alt="" width="375"><figcaption></figcaption></figure></div>

## Composition

* Aligns each layer to the edges and center of the composition.

**Group Option**

* Treat the selection as a single block. The whole group is moved together to the chosen edge or center, preserving relative positions between layers.

## Selection

* Aligns each layer to the combined bounds of the current selection.

**To First Option**

* Lock the first selected layer in place and align all other selected layers to it.

## Depth (3D)

When at least one selected layer is 3D and **Selection** mode is active, the alignment grid switches to a cube with depth controls along the Z axis.

**Front**

* Align layers to the frontmost edge of the selection.

**Center**

* Align layers to the Z-center of the selection.

**Back**

* Align layers to the backmost edge of the selection.

**Z = 0**

* Snap layers to the composition's Z = 0 plane.


---

# 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://motion-studio.mtmograph.com/ae-extension/tools/align-new.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.
