B2.Body:isActive: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 08: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