Table of Contents

ugBASIC User Manual

TILEMAP INDEX

SYNTAX

   = TILEMAP INDEX( column, row [, layer] )

PURPOSE

The TILEMAP INDEX allows you to know the identifier of the tile located in correspondence with the given set of coordinates. In particular, given a tile map as parameter, you can know what the tile is at the x, y position and, if present and given, at the given layer.

EXAMPLE

  index = TILEMAP INDEX( 0, 0 )
  index = TILEMAP INDEX( 0, 0, 1 )

ABBREVIATION

 TmIdx

AVAILABLE ON

SEE ALSO

TILEMAP TILE AT

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY