Phaser API Documentation

  Version: 
attenuation: number

Description:

The attenuation of the Point Light.

This value controls the force with which the light falls-off from the center of the light.

Use small float-based values, i.e. 0.1.

Type:
number
Since: 3.50.0