Difference between revisions of "B2.Body:isActive"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the active state of the body.<br /> <br /> <source lang="lua"> (bool), = b2.Body:isActi...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (bool) | + | (bool) = b2.Body:isActive() |
</source> | </source> | ||
'''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 10:20, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the active state of the body.
(bool) = b2.Body:isActive()
Returns (bool) `true` if the body is active, `false` otherwise