Difference between revisions of "TileMap:clearTile"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[TileMap]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Sets an empty tile at given indices. The tile indices are starting from 1. | |
− | |||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | TileMap:clearTile(x,y) | |
</source> | </source> | ||
− | === | + | |
− | '''x''': (number) | + | === Parameters === |
− | '''y''': (number) | + | '''x''': (number) the x-position of tile<br/> |
+ | '''y''': (number) the y-position of tile<br/> | ||
{{TileMap}} | {{TileMap}} |
Revision as of 01:49, 19 March 2023
Available since: Gideros 2011.6
Class: TileMap
Description
Sets an empty tile at given indices. The tile indices are starting from 1.
TileMap:clearTile(x,y)
Parameters
x: (number) the x-position of tile
y: (number) the y-position of tile