Shape the loop
sprite_loopApply pingpong, reverse, hold, or deduplicate modes to sprite animation frames, with optional hold repetition and project selection, to create reusable loops.
Instructions
pingpong (seamless back-and-forth), reverse, hold (freeze each frame N times) or deduplicate (remove identical frames). Example: {mode:'pingpong'}.
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": {
"mode": "<mode>"
},
"name": "sprite_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| times | No | ||
| project | No | Project id. Omit to use the active project. |