Difference between revisions of "TileMap:setRepeat"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Indicates if the '''Tilemap''' should repeat itself.
 
Indicates if the '''Tilemap''' should repeat itself.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
TileMap:setRepeat(x,y)
 
TileMap:setRepeat(x,y)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023

Available since: Gideros 2018.2
Class: TileMap

Description

Indicates if the Tilemap should repeat itself. <syntaxhighlight lang="lua"> TileMap:setRepeat(x,y) </source>

Parameters

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