Phaser API Documentation

  Version: 
drawDebug(graphic)

Description:

Draws a graphical representation of the StaticBody for visual debugging purposes.

Parameters:

name type description
graphic Phaser.GameObjects.Graphics

The Graphics object to use for the debug drawing of the StaticBody.

Since: 3.0.0