Ase Oscillate Cel Positions
ase_oscillate_cel_positionsApply sine-wave offsets to cel positions over a frame range, creating bobbing, breathing, or hovering motion. X follows sine, Y follows cosine.
Instructions
Sine-wave cel motion across a frame range (bobbing, breathing, hovering). Offsets are applied relative to each cel's position at script start, so run once per animation pass. x follows sin, y follows cos. layer None = first image layer.
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": {
"sprite_path": "<sprite_path>",
"start_frame": "<start_frame>",
"end_frame": "<end_frame>"
},
"name": "ase_oscillate_cel_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| cycles | No | ||
| end_frame | Yes | ||
| phase_deg | No | ||
| amplitude_x | No | ||
| amplitude_y | No | ||
| sprite_path | Yes | ||
| start_frame | Yes | ||
| create_missing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||