Sprite:setVisible: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 09: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