Phaser API Documentation

  Version: 
destroy([destroyChildren])

Description:

Empties this group and removes it from the Scene.

Does not call Phaser.GameObjects.Group#removeCallback.

Parameters:

name type arguments Default description
destroyChildren boolean <optional> false

Also {@link Phaser.GameObjects.GameObject#destroy} each group member.

Since: 3.0.0