Difference between revisions of "B2.Body:isSleepingAllowed"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09.6<br/> === Description === <br /> <source lang="lua"> (bool), = b2.Body:isSleepingAllowed() </source> '''Returns''' (bool) if...")
 
Line 4: Line 4:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(bool), = b2.Body:isSleepingAllowed()
+
(bool) = b2.Body:isSleepingAllowed()
 
</source>
 
</source>
 
'''Returns''' (bool) if body is allowed to sleep<br/>
 
'''Returns''' (bool) if body is allowed to sleep<br/>

Revision as of 11:20, 23 August 2018

Available since: Gideros 2012.09.6

Description


(bool) = b2.Body:isSleepingAllowed()

Returns (bool) if body is allowed to sleep