Tile (TileSet)

Tile represents a single tile entry within a TileSet. Access via the 'tilemap' submodule.

Properties


NameDescriptionType
clip_areaSource rectangle of the tile within the tileset texture.Rect
idLocal tile id within the tileset.int
probabilityProbability used for weighted/random tile placement.int
terrain_indicesTerrainIndices for each corner of the tile.Annotated[list[int], 'FixedSize(4)']