Phaser API Documentation

  Version: 
randomStaticValueEmit()

Description:

An onEmit callback that returns a random value from the current value array.

Returns:
Description:

The new value of the property.

Type:
  • number
Since: 3.0.0