OptionalellipseOptionalflippedOnly set if a tile object. The diagonal flip value.
OptionalflippedOnly set if a tile object. The horizontal flip value.
OptionalflippedOnly set if a tile object. The vertical flip value.
OptionalgidOnly set if of type 'tile'.
OptionalheightThe height of this object, in pixels.
The unique object ID.
The name this object was assigned in Tiled.
OptionalpointOnly set, and set to true, if a point object.
OptionalpolygonOnly set if a polygon object. An array of objects corresponding to points, where each point has an x property and a y property.
OptionalpolylineOnly set if a polyline object. An array of objects corresponding to points, where each point has an x property and a y property.
OptionalpropertiesCustom properties object.
OptionalrectangleOnly set, and set to true, if a rectangle object.
OptionalrotationThe rotation of the object in clockwise degrees.
OptionaltextOnly set if a text object. Contains the text objects properties.
The string type of this instance, as assigned in Tiled. Tiled supports inheriting instance types from tilesets; in that case, the type will be set in the tile's data, but will be '' here; use the gid to fetch the tile data or properties.
OptionalvisibleThe visible state of this object.
OptionalwidthThe width of this object, in pixels.
OptionalxThe horizontal position of this object, in pixels, relative to the tilemap.
OptionalyThe vertical position of this object, in pixels, relative to the tilemap.
Only set, and set to
true, if a ellipse object.