# Arrange (New!)

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

<figure><img src="/files/Aky4PHTKI2FBxWeEVp3g" alt="" width="375"><figcaption></figcaption></figure>

Select two or more layers, configure your grid, and click Apply — or enable Auto (lock icon) to re-run Arrange every time a parameter changes.

## Direction

* Horizontal: Layers fill rows left-to-right, then wrap to the next row.
* Vertical: Layers fill columns top-to-bottom, then wrap to the next column.

## Layout

* Count: Specify a fixed number of items per row/column.
* Fit to Comp: Auto-fit as many items per line as the composition width or height allows.
* Custom Size: Auto-fit as many items per line as a custom pixel size allows.

## Items per Row / Items per Column

* Number of items per line. Only used when Layout is set to Count.

## Custom Size

* Pixel size used to fit items per line. Only used when Layout is set to Custom Size.

## Gap

* Pixel gap between items in the grid.

## Bounds

* Cell: Each grid cell is sized to the *largest layer* in the selection. Layers are centered inside their cell — useful when items have different sizes but should sit on a uniform grid.
* Layer: Each layer occupies only its own size, end-to-end with the gap between them.

## Auto

* Re-run Arrange whenever a parameter changes, so you can dial in spacing visually.


---

# 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/arrange-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.
