clampY(min, max) → {Phaser.Point}
Clamps the y value of this Point to be between the given min and max
Parameters
Name | Type | Description |
---|---|---|
min | number | The minimum value to clamp this Point to. |
max | number | The maximum value to clamp this Point to. |
Returns
This Point object.
- Source code: geom/Point.js (Line 185)
Please login to continue.