ae_center_layers
Center selected or specified After Effects layers on any axis, moving anchor points to the visual content center so text and shapes align correctly in one undo step.
Instructions
Center layers in the composition. By default the anchor point is moved to the visual center of the layer content first (sourceRectAtTime), so text and shapes end up truly centered. One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Center every layer. | |
| axis | No | ||
| comp | No | Composition name or numeric item id. Omit to use the active composition. | |
| anchor | No | Move the anchor point to the content center first (default true). | |
| layers | No | Layer names/indices. Omit to use the selected layers. |