Function TileMap.getUsedCells
Returns a Vector2
array with the positions of all cells containing a tile from the tileset (i.e. a tile index different from -1
).
Returns a Vector2
array with the positions of all cells containing a tile from the tileset (i.e. a tile index different from -1
).