Difference between revisions of "B2.Body:isSleepingAllowed"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
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()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 17:06, 12 July 2023