TiledLayer Type

Built-in structure used inside TiledMap.

Back to Types and Objects


Properties

Property Type Description
NameStringLayer name text.
TypeStringLayer type text (for example, tile layer or object group).
WidthIntegerLayer width in tiles.
HeightIntegerLayer height in tiles.
TilesInteger arrayTile GIDs in row-major order for tile layers.
TileCountIntegerNumber of entries in Tiles.
ObjectsTiledObject arrayObjects contained in the layer.
ObjectCountIntegerNumber of entries in Objects.
PropertiesTiledProperty arrayCustom layer properties.
PropertyCountIntegerNumber of entries in Properties.