B2.Body:isActive: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 8: Line 8:
(bool) = b2.Body:isActive()
(bool) = b2.Body:isActive()
</source>
</source>
=== Return values ===
'''Returns''' (bool) `true` if the body is active, `false` otherwise<br/>
'''Returns''' (bool) `true` if the body is active, `false` otherwise<br/>

Revision as of 09:45, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the active state of the body.

(bool) = b2.Body:isActive()

Return values

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