Table of Contents

ugBASIC User Manual

TILE AT

SYNTAX

   = TILE AT([x],[y])

PURPOSE

This function allows you to know which is the tile drawn at a certain position on the tilemap. Since it is possible to draw both single TILE and TILES, the information on the drawn tile is not, automatically, the identifier of a TILES but it is the single tile of which it is formed. To know if the tile belongs to a group of tiles it is necessary to use the TILES BELONG function.

EXAMPLE

  tile = TILE AT( 10,10 )

ABBREVIATION

 Tl At

AVAILABLE ON

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