Reorder Layer
reorder_layerChange a layer's stacking order in After Effects by moving it to the top or bottom, shifting it up or down, or placing it before or after a specific layer.
Instructions
Change a layer's stacking order. Pass exactly one of: to, index (1 = top), before_layer_id, after_layer_id. Before means above in the stack.
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_id": "<layer_id>"
},
"name": "reorder_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| index | No | ||
| layer_id | Yes | ||
| after_layer_id | No | ||
| before_layer_id | No |