Phaser API Documentation



The debug configuration object.

The values stored in this object are read from the Matter World Config debug property.

When a new Body or Constraint is added to the World, they are given the values stored in this object, unless they have their own render object set that will override them.

Note that while you can modify the values of properties in this object at run-time, it will not change any of the Matter objects already added. It will only impact objects newly added to the world, or one that is removed and then re-added at a later time.

Since: 3.22.0