Phaser API Documentation

  Version: 
getRandomPoint([point])

Description:

Returns a random point along the triangle.

Parameters:

name type arguments description
point Phaser.Geom.Point <optional>

Optional Point that should be modified. Otherwise a new one will be created.

Returns:
Description:

Random Point. When parameter point has been provided it will be returned.

Since: 3.0.0