random(out) → {Phaser.Point}
Picks a random point from anywhere on the Line segment and returns it.
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. If no object is provided a new Phaser.Point object will be created. In high performance areas avoid this by re-using an object.
Returns
Phaser.Point - An object containing the random point in its x and y properti