animate_action
Animate a layer, peg, or camera move with anticipation, slow-in/out, overshoot, and damped settling to add natural motion to OpenToonz scenes.
Instructions
Move a layer/peg/camera with animation principles baked in (Illusion of Life numbers): anticipation (opposite move, 15% amplitude, 25% of duration, min 3f), main move with slow-in/out, overshoot (10% past target) and damped settle (x0.45 swing) over settle_frames AFTER 'end'. to/from_: {x,y,rotation,scale,scale_x,scale_y} (px/deg/factor). from_ defaults to current value at start.
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": {
"scene": "<scene>",
"target": "<target>",
"start": "<start>",
"end": "<end>",
"to": "<to>"
},
"name": "animate_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| end | Yes | ||
| from_ | No | ||
| scene | Yes | ||
| start | Yes | ||
| easing | No | ease | |
| target | Yes | ||
| overshoot | No | ||
| anticipation | No | ||
| settle_frames | No |