Checks the given Point again the Polygon to see if the Point lays within its vertices.
name | type | description |
---|---|---|
polygon | Phaser.Geom.Polygon |
The Polygon to check. |
point | Phaser.Geom.Point |
The Point to check if it's within the Polygon. |
true
if the Point is within the Polygon, otherwise false
.