animate_mask_path
Create animated mask paths in After Effects by defining keyframes with specific vertices and tangents for dynamic shape transformations.
Instructions
Animate a mask path with keyframes
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": {
"compId": "<compId>",
"layerIndex": "<layerIndex>",
"maskIndex": "<maskIndex>",
"keyframes": "<keyframes>"
},
"name": "animate_mask_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| layerIndex | Yes | Index of the layer | |
| maskIndex | Yes | Index of the mask | |
| keyframes | Yes | Array of keyframe data |