Removes a locally created Animation from this Sprite, based on the given key.
Once an Animation has been removed, this Sprite cannot play it again without re-creating it.
name | type | description |
---|---|---|
key | string |
The key of the animation to remove. |
The Animation instance that was removed from this Sprite, if the key was valid.