Phaser API Documentation

  Version: 
group(config)

Description:

Creates a new Group Game Object and returns it.

Note: This method will only be available if the Group Game Object has been built into Phaser.

Parameters:

name type description
config Phaser.Types.GameObjects.Group.GroupConfig | Phaser.Types.GameObjects.Group.GroupCreateConfig

The configuration object this Game Object will use to create itself.

Returns:
Description:

The Game Object that was created.

Since: 3.0.0