Garry's Mod Wiki

surface.GetAlphaMultiplier

  number surface.GetAlphaMultiplier()

Description

Returns the current alpha multiplier affecting drawing operations. This is set by surface.SetAlphaMultiplier or by the game engine in certain other cases.

Returns

1 number
The multiplier ranging from 0 to 1.