--- id: tiled-project name: Tiled.project category: tiled kind: namespace-method tokens: Tiled.project sig: Tiled.project(map, layer: int) -> void tip: Project a collision layer to the byte tilemap. order: 11 ns: Tiled member: project --- Designates tile layer as the collision layer and projects it onto the legacy byte tilemap: an empty cell is a space (passable), a GID whose tile carries the bool oneway property is '=', any other non-zero GID is '#' (solid). Tiled.load calls this automatically for a layer named collision/solids/walls.