{{newin|[[0.8.0]]|080|type=method}}
Wakes the body up or puts it to sleep.

== Function ==
=== Synopsis ===
<source lang="lua">
Body:setAwake( awake )
</source>
=== Arguments ===
{{param|boolean|awake|The body sleep status.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::Body]]
* [[Body:isAwake]]
[[Category:Functions]]
{{#set:Description=Wakes the body up or puts it to sleep.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|Body:setAwake}}