Phaser API Documentation

  Version: 
stop()

Description:

Immediately stops the current animation from playing and dispatches the ANIMATION_STOP event.

If no animation is running, no events will be dispatched.

If there is another animation in the queue (set via the chain method) then it will start playing.

Returns:
Description:

The Game Object that owns this Animation Component.

Since: 3.0.0