Color.a

Returns the alpha value of a color.

Kind: Member

Environments: Game, Terrain

Game

Open the full Game reference

Game Get

Returns the alpha value of a color.

Returns:

Type Description
number The alpha value.

Game Set

Sets the alpha value of a color.

Parameters:

Name Type Description
a number The alpha value.

Terrain

Open the full Terrain reference

Terrain Get

Returns the alpha value of a color.

Returns:

Type Description
number The alpha value.

Terrain Set

Sets the alpha value of a color.

Parameters:

Name Type Description
a number The alpha value.