set_layer_transform
Modify a layer's position, scale, rotation, opacity, and anchor point in After Effects using its name or index, with optional composition targeting.
Instructions
Modifies transform properties of a layer (Position, Scale, Rotation, Opacity, Anchor Point).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_layer_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | [X, Y] or [X, Y, Z] percentage scale (e.g. [100, 100]). | |
| opacity | No | Opacity percentage (0-100). | |
| position | No | [X, Y] or [X, Y, Z] position. | |
| rotation | No | Rotation in degrees. | |
| layer_name | No | Name of the layer. | |
| layer_index | No | 1-based index of the layer. | |
| anchor_point | No | [X, Y] or [X, Y, Z] anchor point. | |
| composition_id | No | Optional composition item ID. |