Skip to content

extractObjectGroups

extractObjectGroups(map, objectLayerName?): TiledObjectGroup[]

Defined in: tilemap/src/tiled/parseTiledMap.ts:402

Extract raw Tiled objects grouped strictly by object layer and class/type. Returned objects keep their raw Tiled coordinates without layer offsets.

TiledMapData

string

TiledObjectGroup[]