API UIObject SetAlpha

Sets the alpha (transparency) of the given object.

MyObject:SetAlpha(alpha)

Arguments

 * alpha
 * Number - a floating-point number between 0 and 1: 1 is fully opaque, 0 is transparent (in fact, invisible).

Example
Makes frame MyFrame translucent, more visible than not: MyFrame:SetAlpha(.75);

Fade the whole UI so that it becomes barely visible: UIParent:SetAlpha(0.1);