Animate property
animate_propertyKeyframe any layer property in one call by animating from a start value to an end value between two times, applying an ease preset to shape the motion.
Instructions
One-call animation: keys from 'from' (default: current value at startTime) to 'to' between startTime (default current time) and endTime (or startTime + duration, default 1 s), with an ease preset (default easy_ease).
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>",
"property": "<property>",
"to": "<to>"
},
"name": "animate_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End value. | |
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| ease | No | Ease preset for both keys (default easy_ease). | |
| from | No | Start value (default: the value at startTime). | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| endTime | No | Time: seconds (number), '12f' for frames, or 'HH:MM:SS:FF' timecode. | |
| duration | No | Seconds, used when endTime is omitted (default 1). | |
| property | Yes | Property path, '/'-separated, by display name, matchName or 1-based index. Shortcuts: 'Position', 'Scale', 'Rotation', 'Opacity', 'Anchor Point', 'Source Text', 'Time Remap', 'Audio Levels'. Examples: 'Transform/Position', 'Effects/Gaussian Blur/Blurriness', 'Contents/Rectangle 1/Fill 1/Color', 'Masks/Mask 1/Mask Feather'. | |
| startTime | No | Time: seconds (number), '12f' for frames, or 'HH:MM:SS:FF' timecode. |