center-layers
Center selected layers, a specific layer, or all layers in an After Effects composition by providing the composition index and layer options.
Instructions
Center one layer, selected layers, or all layers in a composition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allLayers | No | Center all layers in the composition. | |
| compIndex | Yes | 1-based composition index. | |
| layerName | No | Target layer name when centering a single layer. | |
| layerIndex | No | Target layer index when centering a single layer. | |
| selectedOnly | No | Center only selected layers in the composition. |