mget - brickviking/TIC-80 GitHub Wiki

mget

mget(x, y) -> tile_id

Parameters

  • x, y : map coordinates

Returns

  • tile_id : tile index

Description

This function returns the index of the tile at the specified map coordinates, the top left cell of the map being (0, 0).

Related