{{oldin|[[0.8.0]]|080|type=method}}
Put the body to sleep.

A sleeping body is much more efficient to simulate than when awake.

The body will wake up if another body collides with it, if a joint or contact attached to it is destroyed, or if [[Body:wakeUp]] is called.

== Function ==
=== Synopsis ===
<source lang="lua">
Body:putToSleep( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.

== See Also ==
* [[parent::Body]]
[[Category:Functions]]
{{#set:Description=Put the body to sleep.}}
{{#set:Since=000}}

== Other Languages ==
{{i18n|Body:putToSleep}}