Phaser API Documentation

  Version: 
setEmpty()

Description:

Resets the position, width, and height of the Rectangle to 0.

Returns:
Description:

This Rectangle object.

Since: 3.0.0