Difference between revisions of "Sprite:setVisible"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <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 /> | ||
into consideration while calculating bounds.<br /> | into consideration while calculating bounds.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
Sprite:setVisible(visible) | Sprite:setVisible(visible) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''visible''': (bool) whether or not the sprite is visible <br/> | + | '''visible''': (bool) <translate>whether or not the sprite is visible</translate> <br/> |
Revision as of 13:33, 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