Difference between revisions of "Sprite:isVisible"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Line 10: Line 11:
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>A value of [[Special:MyLanguage/true|true]] if sprite is visible; [[Special:MyLanguage/false|false]] otherwise.</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>A value of `true` if sprite is visible; `false` otherwise.</translate><br/>

Revision as of 09:28, 24 August 2018

Available since: Gideros 2011.6
Class: Sprite

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.