Difference between revisions of "B2.Body:setSleepingAllowed"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2012.09.6<br/>
+
'''Available since:''' Gideros 2012.09.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
+
'''Class:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br /></translate>
+
=== Description ===
 +
Whether the body can sleep.
 
<source lang="lua">
 
<source lang="lua">
b2.Body:setSleepingAllowed(flag)
+
b2.Body:setSleepingAllowed(flag)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''flag''': (boolean) <translate></translate> <br/>
+
=== Parameters ===
 +
'''flag''': (boolean) is the body allowed to sleep <br/>
 +
 
 +
{{B2.Body}}

Revision as of 06:53, 17 February 2020