B2.Body:isSleepingAllowed: Difference between revisions

From GiderosMobile
No edit summary
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 16:06, 12 July 2023