Phaser API Documentation

  Version: 
addMultiple(children, [addToScene])

Description:

Adds several Game Objects to this group.

Calls Phaser.GameObjects.Group#createCallback.

Parameters:

name type arguments Default description
children Array.<Phaser.GameObjects.GameObject>

The Game Objects to add.

addToScene boolean <optional> false

Also add the Game Objects to the scene.

Returns:
Description:

This group.

Since: 3.0.0