Phaser API Documentation

  Version: 
setPoints(value)

Description:

Sets the number of points that make up the Star shape. This call can be chained.

Parameters:

name type description
value number

The amount of points the Star will have.

Returns:
Description:

This Game Object instance.

Since: 3.13.0