animations - Create and control Phaser 4 sprite animations
Create, play, pause, chain, and monitor sprite animations from spritesheets and texture atlases in Phaser 4.
Tags
Updated: 2026-10-03Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create global animations
- Create local animations
- Generate numeric frames
- Generate named frames
- Play sprite animations
- Pause and resume playback
- Stop animations conditionally
- Chain animations
- Reverse playback direction
- Handle animation events
- Handle frame callbacks
- Export and import JSON
Inputs
- Spritesheet assets
- Texture atlas assets
- Animation configuration
- Sprite game objects
- Animation event handlers
Outputs
- Playing sprite animations
- Animation state changes
- Animation events
- Animation callback invocations
- Animation JSON data
Requirements
- Phaser 4 runtime
- Loaded spritesheet or atlas assets
