TiledObject
An object from a Tiled object layer (spawn points, triggers), in world pixels. properties holds its custom properties.
Properties
Section titled “Properties”height
Section titled “height”height:
number
id:
number
layer:
string
name:
string
properties
Section titled “properties”properties:
Record<string,unknown>
type:
string
Tiled “class” (or “type” in older versions).
width:
number
x:
number
y:
number
z:
number
z of the object layer, to spawn things between tile layers.
