Sprite:isVisible: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Returns whether or not the sprite is visible. Child sprites that are not visible are also taken<br /> | Returns whether or not the sprite is visible. Child 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"> | ||
(bool) = Sprite:isVisible() | (bool) = Sprite:isVisible() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
'''Returns''' (bool) A value of | '''Returns''' (bool) <translate>A value of [[[true` if sprite is visible; `false]]] otherwise.</translate><br/> | ||
Revision as of 12:38, 23 August 2018
Available since: Gideros 2011.6
Description
Returns whether or not the sprite is visible. Child sprites that are not visible are also taken
into consideration while calculating bounds.
(bool) = Sprite:isVisible()
Return values
Returns (bool) A value of [[[true` if sprite is visible; `false]]] otherwise.