Difference between revisions of "B2.Body:setSleepingAllowed"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
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)
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 18:00, 12 July 2023