Skip to content
TimotheeGreg edited this page Mar 31, 2024 · 17 revisions

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). The map coordinates are not to be confused with the screen coordinates. One screen can contain 30×17 cells.

XYmap_coordinates

Related

Clone this wiki locally