set_spatial_tangent
Configure incoming and outgoing spatial tangents on an After Effects position keyframe to control motion path curvature and direction.
Instructions
Set spatial tangents for position keyframes (motion path)
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>",
"keyframeIndex": "<keyframeIndex>"
},
"name": "set_spatial_tangent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| inTangent | No | Incoming tangent [x, y] or [x, y, z] | |
| layerIndex | Yes | Index of the layer | |
| outTangent | No | Outgoing tangent [x, y] or [x, y, z] | |
| keyframeIndex | Yes | Index of the position keyframe (1-based) |