Phaser API Documentation

  Version: 
getTileLayerNames()

Description:

Return a list of all valid tilelayer names loaded in this Tilemap.

Returns:
Description:

Array of valid tilelayer names / IDs loaded into this Tilemap.

Type:
  • Array.<string>
Since: 3.21.0
Source: src/tilemaps/Tilemap.js (Line 1342)