Phaser API Documentation

  Version: 
hideOnComplete: boolean

Description:

Should the GameObject's visible property be set to false when the animation completes?

This value is set when a new animation is loaded into this component, but can also be modified at run-time, assuming the animation is still actively playing.

Type:
boolean
Since: 3.50.0