Phaser API Documentation

  Version: 
complete()

Description:

The current animation has completed. This dispatches the ANIMATION_COMPLETE event.

This method is called by the Animation instance and should not usually be invoked directly.

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

If another animation has been queued for playback, it will be started after the events fire.

Returns:
Description:

The Game Object that owns this Animation Component.

Since: 3.50.0