Reorder effect
reorder_effectMoves an After Effects effect to a new position in a layer's effect stack and returns the updated order, letting you control render order.
Instructions
Move an effect to another position in the layer's effect stack (1 = top, rendered first). Returns the new order.
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>",
"effect": "<effect>",
"moveTo": "<moveTo>"
},
"name": "reorder_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| effect | Yes | Effect on the layer: 1-based index in the Effects stack, effect name (as renamed), or matchName (e.g. 'ADBE Glo2'). | |
| moveTo | Yes | New 1-based position. |