Phaser API Documentation

  Version: 
zone(config)

Description:

Creates a new Zone Game Object and returns it.

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

Parameters:

name type description
config object

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

Returns:
Description:

The Game Object that was created.

Since: 3.0.0