Phaser API Documentation

  Version: 
containsTileIndex(tileIndex)

Description:

Returns true if and only if this Tileset contains the given tile index.

Parameters:

name type description
tileIndex number

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

Type:
  • boolean
Since: 3.0.0
Source: src/tilemaps/Tileset.js (Line 238)