Phaser API Documentation

  Version: 
removeDebug(gameObject)

Description:

Removes an Input Debug Shape from the given Game Object.

The shape is destroyed immediately and the hitAreaDebug property is set to null.

Parameters:

name type description
gameObject Phaser.GameObjects.GameObject

The Game Object to remove the input debug shape from.

Returns:
Description:

This Input Plugin.

Since: 3.19.0