helion.language.tile_end

helion.language.tile_end(tile)[source]

Retrieve the end offset of the given tile. For the first 0 to N-1 tiles, this is equivalent to tile.begin + tile.block_size. For the last tile, this is the end offset passed to hl.tile(). This can also be written as: tile.end.

Parameters:

tile (TileInterface)

Return type:

int