Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Geom.Rectangle
setEmpty()
Description:
Resets the position, width, and height of the Rectangle to 0.
Returns:
Description:
This Rectangle object.
Type:
Phaser.Geom.Rectangle
Since:
3.0.0
Source:
src/geom/rectangle/Rectangle.js
(Line
189
)
Possible examples