Difference between revisions of "B2.Joint:isActive"

From GiderosMobile
Line 8: Line 8:
 
(bool) = b2.Joint:isActive()
 
(bool) = b2.Joint:isActive()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (bool) `true` if both bodyA and bodyB is active, `false` otherwise<br/>
 
'''Returns''' (bool) `true` if both bodyA and bodyB is active, `false` otherwise<br/>

Revision as of 11:46, 23 August 2018

Available since: Gideros 2011.6

Description


Short-cut function to determine if either body is inactive.

(bool) = b2.Joint:isActive()

Return values

Returns (bool) `true` if both bodyA and bodyB is active, `false` otherwise