Difference between revisions of "B2.Body:isSleepingAllowed"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2012.09.6<br/>
 
'''Available since:''' Gideros 2012.09.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(bool) = b2.Body:isSleepingAllowed()
 
(bool) = b2.Body:isSleepingAllowed()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (bool) if body is allowed to sleep<br/>
+
'''Returns''' (bool) <translate>if body is allowed to sleep</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2012.09.6

Description


(bool) = b2.Body:isSleepingAllowed()

Return values

Returns (bool) if body is allowed to sleep