Widget API: UIObject:SetAlpha

From AddOn Studio
Revision as of 02:02, 4 July 2006 by WoWWiki>Kaelten
Jump to navigation Jump to search

Widget API ← UIObject < SetAlpha

Sets the alpha of given object. Alpha is an integer between 0 and 1. 1 being opaque, 0 being transparent.

Note: If you attempt to set the same value to this more than once it will detect this and will return early after the first attempt.

e.g. MyFrame:SetAlpha(.75); makes the frame translucent, more visible than not.