Phaser API Documentation

  Version: 
stop()

Description:

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

If no animation is playing, no event will be dispatched.

If there is another animation queued (via the chain method) then it will start playing immediately.

Returns:
Description:

This Game Object.

Since: 3.50.0