Difference between revisions of "B2.Body:setSleepingAllowed"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Whether the body can sleep.
 
Whether the body can sleep.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
b2.Body:setSleepingAllowed(flag)
 
b2.Body:setSleepingAllowed(flag)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 18:00, 12 July 2023