Optional
animationArray of frames if tile is animated.
Optional
heightThe height of the sub-rectangle representing this tile. Default is the image height.
Local ID of the tile.
Optional
imageImage representing this tile. Optional, used for image collection tilesets.
Optional
imageheightHeight of the tile image in pixels. Only set when image is set.
Optional
imagewidthWidth of the tile image in pixels. Only set when image is set.
Optional
objectgroupOptional object group layer when collision shapes are specified.
Optional
probabilityPercentage chance this tile is chosen when competing with others in the editor. Default is 1.
Optional
propertiesOptional list of custom tile properties.
Optional
typeOptional class of the tile (was saved as class
in Tiled v1.9).
Optional
widthThe width of the sub-rectangle representing this tile. Default is the image width.
Optional
xThe X position of the sub-rectangle representing this tile. Default is 0.
Optional
yThe Y position of the sub-rectangle representing this tile. Default is 0.
Generated using TypeDoc
Tile definition.