B2.Joint:isActive: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Short-cut function to determine if either body is inactive. <br /> | Short-cut function to determine if either body is inactive. <br /> | ||
<br /> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
(bool) = b2.Joint:isActive() | (bool) = b2.Joint:isActive() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
'''Returns''' (bool) | '''Returns''' (bool) <translate>[[[true` if both bodyA and bodyB is active, `false]]] otherwise</translate><br/> | ||
Revision as of 12:34, 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