Difference between revisions of "B2.Body:isActive"

From GiderosMobile
Line 10: Line 10:
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>`true` if the body is active, `false` otherwise</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>''true'' if the body is active, ''false'' otherwise</translate><br/>

Revision as of 10:36, 24 August 2018

Available since: Gideros 2011.6
Class: b2.Body

Description


Returns the active state of the body.

(bool) = b2.Body:isActive()

Return values

Returns (bool) true if the body is active, false otherwise