Difference between revisions of "Sprite:isVisible"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns whether or not the sprite is visible. Child sprites that are not visible are also taken...") |
|||
Line 7: | Line 7: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (bool) | + | (bool) = Sprite:isVisible() |
</source> | </source> | ||
'''Returns''' (bool) A value of `true` if sprite is visible; `false` otherwise.<br/> | '''Returns''' (bool) A value of `true` if sprite is visible; `false` otherwise.<br/> |
Revision as of 10:17, 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()
Returns (bool) A value of `true` if sprite is visible; `false` otherwise.