TiledTile

Extends: roAssociativeArray

One tile's own data from a tileset: only tiles Tiled wrote an entry for (ones with a type, properties, or - in an image collection - their own image) have one.

Properties

  • id (integer) — Local id within its tileset (GID - the tileset's firstGid)
  • type (string) — Tiled's "class" (1.9+) or "type" (older); "" when unset
  • properties (roAssociativeArray) — Custom properties, name -> value
  • image (string) — Image-collection tiles only: full path to this tile's own image; "" otherwise
  • imageWidth (integer)
  • imageHeight (integer)