{{newin|[[0.8.0]]|080|type=method}}
Destroys the world, taking all bodies, joints, fixtures and their shapes with it. 

An error will occur if you attempt to use any of the destroyed objects after calling this function.

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

== See Also ==
* [[parent::World]]
[[Category:Functions]]
{{#set:Description=Destroys the world.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|World:destroy}}