Set transform
set_transformSet transform properties for After Effects layers—position, scale, rotation, opacity, anchor point, and 3D orientation—with optional keyframes or relative adjustments.
Instructions
Set transform properties of one or more layers. Give any of anchorPoint, position, scale (number = uniform or [x,y(,z)] %), rotation (degrees), opacity (0-100), and for 3D layers orientation [x,y,z], xRotation, yRotation. With 'time' a keyframe is set there instead of a static value. relative=true adds to the current values. Separated position dimensions are handled.
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_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Set a keyframe at this time instead of a static value. | |
| scale | No | ||
| layers | No | Layers: array of layer refs, or 'selected' (default) or 'all'. | |
| opacity | No | 0-100. | |
| position | No | ||
| relative | No | Add the values to the current ones. | |
| rotation | No | Z rotation in degrees. | |
| xRotation | No | 3D only, degrees. | |
| yRotation | No | 3D only, degrees. | |
| anchorPoint | No | ||
| orientation | No | 3D only, degrees [x, y, z]. |