Optional
ellipseTrue if object is an ellipse. False or undefined if not.
Optional
gidGlobal tile ID, only if object represents a tile.
Optional
heightHeight in pixels. Always 0 for points. Default is 0.
Incremental ID, unique across all objects.
Optional
nameThe name assigned to this object. Default is empty.
Optional
pointTrue if object is a point. False or undefined if not.
Optional
polygonArray of points if object is a polygon.
Optional
polylineArray of points if object is a polyline.
Optional
propertiesArray of object properties.
Optional
rotationRotation angle in degrees clockwise. Default is 0.
Optional
templateReference to a template file, in case object is a template instance.
Optional
textText data if object is a text.
Optional
typeThe class of the object. Was saved as class
in older Tiled v1.9. Default is empty.
Optional
visibleWhether object is shown in editor. Default is true.
Optional
widthWidth in pixels. Always 0 for points. Default is 0.
Generated using TypeDoc
Base data for map objects.