Skip to content

TiledObject

An object from a Tiled object layer (spawn points, triggers), in world pixels. properties holds its custom properties.

height: number


id: number


layer: string


name: string


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.