Phaser API Documentation

  Version: 
<static> remove(parent)

Description:

Looks up a canvas based on its parent, and if found puts it back in the pool, freeing it up for re-use. The canvas has its width and height set to 1, and its parent attribute nulled.

Parameters:

name type description
parent *

The canvas or the parent of the canvas to free.

Examples:
Since: 3.0.0