Phaser API Documentation

  Version: 
setName(value)

Description:

Sets the name property of this Group. The name property is not populated by Phaser and is presented for your own use.

Parameters:

name type description
value string

The name to be given to this Group.

Returns:
Description:

This Group object.

Since: 3.24.0