API Reference › Tiled › Tiled.object_count
method

Tiled.object_count

Tiled.object_count(map, layer: int) -> int

Returns the number of objects on object layer (0 for a non-object layer).

← All symbols