Phaser API Documentation

  Version: 
remove(key)

Description:

Removes an Animation from this Animation Manager, based on the given key.

This is a global action. Once an Animation has been removed, no Game Objects can carry on using it.

Parameters:

name type description
key string

The key of the animation to remove.

Returns:
Description:

The Animation instance that was removed from the Animation Manager.

Since: 3.0.0