Quantcast
WoWInterface - View Single Post - Fading frames until I mouseover
View Single Post
07-21-20, 01:23 PM   #2
LudiusMaximus
A Cobalt Mageweaver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 227
Something like that?

Code:
local myFrame = PlayerFrame -- Your frame here.
myFrame:SetAlpha(0)
myFrame:HookScript("OnEnter", function(self) self:SetAlpha(1) end)
myFrame:HookScript("OnLeave", function(self) self:SetAlpha(0) end)
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote