S&box Wiki

Color.WithAlpha

Syntax

Color WithAlpha( float alpha )

Description

Returns this colour with its alpha value changed

Arguments

float alpha
The required alpha value, usually between 0-1

Returns