Animate a sprite
sprite_animateBuild a full animation timeline from the active frame using motion presets like idle_bob, walk_cycle, and blink. Generates integer/nearest-neighbour frames only—never blurred.
Instructions
Build a full animation timeline from the active frame. Presets: idle_bob, walk_cycle, blink, pulse, squash_stretch, spin, shake, wave, flicker, explode, jump, glow, hue_cycle, float. Integer/nearest-neighbour only — never blurred. Example: {preset:"idle_bob", frames:6, durationMs:120, amplitude:1}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| tags | No | ||
| easing | No | ||
| frames | No | ||
| preset | Yes | Motion preset. | |
| project | No | Project id. Omit to use the active project. | |
| replace | No | Replace the timeline (default true). false = append. | |
| amplitude | No | Motion strength in pixels (default 1). | |
| durationMs | No | ||
| sourceFrame | No |