Difference between revisions of "TileMap:clearTile"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[TileMap]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Sets an empty tile at given indices. The tile indices are starting from 1.
Set an empty tile at given indices. The tile indices are starting from 1.<br />
+
<syntaxhighlight lang="lua">
<br />
+
TileMap:clearTile(x,y)
<source lang="lua">
+
</syntaxhighlight>
TileMap:clearTile(x,y)
+
 
</source>
+
=== Parameters ===
'''x''': (number) The x-position of tile ''''''<br/>
+
'''x''': (number) the x-position of tile<br/>
'''y''': (number) The y-position of tile ''''''<br/>
+
'''y''': (number) the y-position of tile<br/>
 +
 
 +
{{TileMap}}

Latest revision as of 15:33, 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.

TileMap:clearTile(x,y)

Parameters

x: (number) the x-position of tile
y: (number) the y-position of tile