method
Tiled.tile_shapes
Tiled.tile_shapes(map, gid: int) -> int
Returns 1 if the tile a GID resolves to carries a per-tile <objectgroup> with at least one collision shape (rectangle/ellipse/polygon/point), else 0 — the precise collision source in the P2 priority order.