tween_cel_opacity
Fades a layer's cels across a frame range by interpolating opacity between start and end values with selected easing in a single undo step.
Instructions
Fade a layer's cels across [from_frame..to_frame]: opacity
interpolates from from_opacity to to_opacity (0-255) with the
chosen easing. Every frame in the range needs a cel on the layer. One
undo step.
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": {
"from_frame": "<from_frame>",
"to_frame": "<to_frame>",
"from_opacity": "<from_opacity>",
"to_opacity": "<to_opacity>"
},
"name": "tween_cel_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| layer | No | ||
| easing | No | linear | |
| to_frame | Yes | ||
| from_frame | Yes | ||
| to_opacity | Yes | ||
| from_opacity | Yes |