Phaser API Documentation

  Version: 
drawDebug(graphic)

Description:

Draws this Body and its velocity, if enabled.

Parameters:

name type description
graphic Phaser.GameObjects.Graphics

The Graphics object to draw on.

Since: 3.0.0