Difference between revisions of "B2.Body:isSleepingAllowed"

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

Revision as of 08:28, 24 August 2018

Available since: Gideros 2012.09.6

Description


(bool) = b2.Body:isSleepingAllowed()

Return values

Returns (bool) if body is allowed to sleep