Difference between revisions of "TileMap:clearTile"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
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.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
TileMap:clearTile(x,y)
 
TileMap:clearTile(x,y)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

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