Phaser API Documentation

  Version: 
getTileProperties(tileIndex)

Description:

Get a tiles properties that are stored in the Tileset. Returns null if tile index is not contained in this Tileset. This is typically defined in Tiled under the Tileset editor.

Parameters:

name type description
tileIndex number

The unique id of the tile across all tilesets in the map.

Type:
  • object
  • undefined
Examples:
Since: 3.0.0
Source: src/tilemaps/Tileset.js (Line 183)