random(out) → {Phaser.Point}
Returns a uniformly distributed random point from anywhere within this Circle.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
out | Phaser.Point | object | <optional> | A Phaser.Point, or any object with public x/y properties, that the values will be set in. |
Returns
An object containing the random point in its x
and y
properties.
- Source code: geom/Circle.js (Line 72)
Please login to continue.