Difference between revisions of "Sprite:isVisible"

From GiderosMobile
Line 9: Line 9:
 
(bool) = Sprite:isVisible()
 
(bool) = Sprite:isVisible()
 
</source>
 
</source>
 +
=== Return values ===
 
'''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:44, 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.