Phaser API Documentation

  Version: 
destroy()

Description:

Will remove all Matter physics event listeners and clear the matter physics world, engine and any debug graphics, if any.

After destroying the world it cannot be re-used again.

Since: 3.0.0