getAnimation(name) → {Phaser.Animation}
Returns an animation that was previously added by name.
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the animation to be returned, e.g. "fire". |
Returns
The Animation instance, if found, otherwise null.
- Source code: animation/AnimationManager.js (Line 371)
Please login to continue.