API Reference › Tiled › Tiled.load
method

Tiled.load

Tiled.load(path: string) -> map

Reads a map file (TMX or TMJ), builds the runtime rt_tmap model — resolving external tilesets and loading their images relative to the map file — and projects the designated collision layer (a tile layer named collision/solids/walls) down to the legacy byte tilemap so Grid/Path and esys_move keep working unchanged. Returns the loaded map.

← All symbols