Determines whether the specified point is contained within the rectangular region defined by this Rectangle object.
name | type | description |
---|---|---|
rect | Phaser.Geom.Rectangle |
The Rectangle object. |
point | Phaser.Geom.Point |
The point object to be checked. Can be a Phaser Point object or any object with x and y values. |
A value of true if the Rectangle object contains the specified point, otherwise false.