Difference between revisions of "TileMap:clearTile"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Sets an empty tile at given indices. The tile indices are starting from 1. | Sets an empty tile at given indices. The tile indices are starting from 1. | ||
− | < | + | <syntaxhighlight lang="lua"> |
TileMap:clearTile(x,y) | TileMap:clearTile(x,y) | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2011.6
Class: TileMap
Description
Sets an empty tile at given indices. The tile indices are starting from 1. <syntaxhighlight lang="lua"> TileMap:clearTile(x,y) </source>
Parameters
x: (number) the x-position of tile
y: (number) the y-position of tile