Difference between revisions of "Sprite:setVisible"

From GiderosMobile
Line 13: Line 13:
 
=== <translate>Parameters</translate> ===
 
=== <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/>
 +
 +
{{Sprite}}

Revision as of 00:23, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

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