Phaser API Documentation

  Version: 
<static> ParseObjectLayers(json)

Description:

Parses a Tiled JSON object into an array of ObjectLayer objects.

Parameters:

name type description
json object

The Tiled JSON object.

Returns:
Description:

An array of all object layers in the tilemap as ObjectLayers.

Type:
  • array
Examples: