ae_reorderLayer
Move an After Effects layer to a specific index, top/bottom position, or above/below another layer in a composition.
Instructions
After Effects: move a layer to index, or to top/bottom, or above/below another layer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layer": "<layer>"
},
"name": "ae_reorderLayer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| above | No | Layer name or 1-based index. | |
| below | No | Layer name or 1-based index. | |
| layer | Yes | Layer name or 1-based index. | |
| toIndex | No | ||
| position | No | ||
| compositionName | No | Comp name; omit to use the active comp. |