Difference between revisions of "Sprite:setVisible"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets whether or not the sprite is visible. Sprites that are not visible are also taken<br /> in...")
 
Line 7: Line 7:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= Sprite:setVisible(visible,)
+
Sprite:setVisible(visible)
 
</source>
 
</source>
'''visible:''' (bool) whether or not the sprite is visible ''''''<br/>
+
'''visible''': (bool) whether or not the sprite is visible ''''''<br/>

Revision as of 10:17, 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)

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