API Reference › Tiled › Tiled.tile_prop
method

Tiled.tile_prop

Tiled.tile_prop(map, gid: int, name: string) -> int

Returns 1 if the tile the GID resolves to carries a custom bool property name set to true, else 0 — the property convention (solid/oneway/trigger) the collision projection reads.

← All symbols