Difference between revisions of "TileMap:setRepeat"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
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>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

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