---
id: tiled-load
name: Tiled.load
category: tiled
kind: namespace-method
tokens: Tiled.load
sig: Tiled.load(path: string) -> map
tip: Load a map file into the runtime map model.
order: 3
ns: Tiled
member: load
---
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.