Phaser API Documentation

  Version: 
removeElement()

Description:

Removes the current DOM Element bound to this Game Object from the DOM entirely and resets the node property of this Game Object to be null.

Returns:
Description:

This DOM Element instance.

Since: 3.17.0