Phaser API Documentation

  Version: 

Member of: Phaser.Display.RGB

g: number

Description:

The green color value. Between 0 and 1.

Changing this property will flag this RGB object as being dirty and invoke the onChangeCallback , if set.

Type:
number
Since: 3.50.0
Source: src/display/RGB.js (Line 151)