Phaser API Documentation

  Version: 
<readonly> direction: boolean

Description:

The direction of the fade. true = fade out (transparent to color), false = fade in (color to transparent)

Type:
boolean
Since: 3.5.0