ae_reorder_layer
Reorders layers in After Effects compositions by moving a specified layer to a new stack position, with 1 as the topmost layer.
Instructions
Move a layer to a different position in the layer stack (1 = top)
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": {
"comp_name": "<comp_name>",
"layer_name": "<layer_name>",
"new_index": "<new_index>"
},
"name": "ae_reorder_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp_name | Yes | Composition name | |
| new_index | Yes | New layer index (1 = topmost) | |
| layer_name | Yes | Layer name |