Difference between revisions of "Sprite:setVisible"

From GiderosMobile
Line 9: Line 9:
 
  Sprite:setVisible(visible)
 
  Sprite:setVisible(visible)
 
</source>
 
</source>
'''visible''': (bool) whether or not the sprite is visible ''''''<br/>
+
=== Parameters ===
 +
'''visible''': (bool) whether or not the sprite is visible <br/>

Revision as of 11:44, 23 August 2018

Available since: Gideros 2011.6

Description


Sets whether or not the sprite is visible. Sprites that are not visible are also taken
into consideration while calculating bounds.

 Sprite:setVisible(visible)

Parameters

visible: (bool) whether or not the sprite is visible