---
id: tiled-tile_shapes
name: Tiled.tile_shapes
category: tiled
kind: namespace-method
tokens: Tiled.tile_shapes
sig: Tiled.tile_shapes(map, gid: int) -> int
tip: Whether a GID's tile has a collision shape.
order: 16
ns: Tiled
member: tile_shapes
---
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.