Set property value
set_propertySets static values for After Effects layer properties and, when keyframes exist, requires atTime to add or update a keyframe at that time.
Instructions
Set a property's static value. If the property already has keyframes, this fails unless atTime is given; with atTime it sets (or adds) a keyframe at that time. Colors accept '#RRGGBB'; scalars fill all dimensions (Scale: 50 -> [50,50]); [x,y] on a 3D property keeps z. Source Text accepts a string or {text, fontSize, fillColor, ...}.
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>",
"value": "<value>"
},
"name": "set_property"
}
}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. | |
| value | Yes | Value: number (1D), array ([x,y] / [x,y,z] / color), '#RRGGBB' for colors, string or {text,...} for Source Text, {vertices,inTangents,outTangents,closed} for paths. | |
| atTime | No | Set a keyframe at this time instead of a static value. | |
| 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'. |