Quantcast WoWInterface - View Single Post - How to get hidden frames?
View Single Post
06-23-19, 09:33 AM   #1
A Black Drake
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 86
How to get hidden frames?

I want to manipulate a hidden frame from BigWigs - the BigWigsAnchor.
Here is the code on their github:


As you can see there at the end they do display:Hide(). I guess this is the
reason why I cannot get the frame:

local count = GetNumAddOns();
for i = 1, count do
	local name = GetAddOnInfo(i);
	if (IsAddOnLoaded(i) and (name == "BigWigs")) then
		-- BigWigs is loaded
                local frame = _G["BigWigsAnchor"];

                if (frame) then
                    -- do stuff
                    print("BigWigsAnchor does not exist");

Is there a way to also get and manipulate hidden frames? Or could there be another reason why BigWigsAnchor is always nil?

Last edited by Lybrial : 06-23-19 at 09:35 AM.
  Reply With Quote