Difference between revisions of "TileMap:setRepeat"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
TileMap:setRepeat(x,y)
 
TileMap:setRepeat(x,y)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2018.2
Class: TileMap

Description

Indicates if the Tilemap should repeat itself.

TileMap:setRepeat(x,y)

Parameters

x: (boolean) Tilemap is repeating along x axis
y: (boolean) Tilemap is repeating along y axis