Difference between revisions of "B2.Body:isSleepingAllowed"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Whether a body is allowed to sleep.
 
Whether a body is allowed to sleep.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = b2.Body:isSleepingAllowed()
 
(bool) = b2.Body:isSleepingAllowed()
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 18:06, 12 July 2023