Widget API ← UIObject < SetAlpha

Sets the alpha (transparency) of the given object.


Arguments Edit

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

Example Edit

Makes frame MyFrame translucent, more visible than not:


Fade the whole UI so that it becomes barely visible:


Notes Edit

As of patch 2.1.0, transparency propagates down through all child objects.

"Frame alpha now propagates in the same way as scale (though is clamped between 0 and 1 on each object). This means you can cleanly fade the whole UI or specific frame assemblies."

See also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.