Skip to content

API Type TileCollision

github-actions[bot] edited this page Nov 24, 2026 · 3 revisions

Type Alias: TileCollision

type TileCollision = 
  | "none"
  | "full"
  | "oneWay"
  | TilePolygon;

Defined in: src/plugins/tilemaps/runtime/tileset.ts:39

How a tile collides: not at all, as the whole cell, as a one-way platform the size of the cell, or as a polygon.

Clone this wiki locally