Phaser API Documentation

  Version: 
pause()

Description:

Pauses this Matter World instance and sets enabled to false.

A paused world will not run any simulations for the duration it is paused.

Returns:
Description:

This Matter World object.

Since: 3.0.0