Difference between revisions of "Sprite:setVisible"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Sets whether or not the sprite is visible. Sprites that are not visible are also taken<br />
 
Sets whether or not the sprite is visible. Sprites that are not visible are also taken<br />
Line 9: Line 9:
 
  Sprite:setVisible(visible)
 
  Sprite:setVisible(visible)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''visible''': (bool) <translate>whether or not the sprite is visible</translate> <br/>
 
'''visible''': (bool) <translate>whether or not the sprite is visible</translate> <br/>

Revision as of 07:30, 24 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