Phaser API Documentation

  Version: 
alpha: number

Description:

The Camera alpha value. Setting this property impacts every single object that this Camera renders. You can either set the property directly, i.e. via a Tween, to fade a Camera in or out, or via the chainable setAlpha method instead.

Type:
number
Default: 1
Since: 3.11.0