--- id: tiled-layer_count name: Tiled.layer_count category: tiled kind: namespace-method tokens: Tiled.layer_count sig: Tiled.layer_count(map) -> int tip: How many layers the map has. order: 8 ns: Tiled member: layer_count --- Returns the number of layers (tile, object, image and group layers are all counted; a group's children are flattened in after it).