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.
Determine if the object would be visible if its parent was visible.
shown = MyObject:IsShown();
- boolean - true if the object will be visible when its parent is visible.
if MyFrame:IsShown() and not MyFrame:IsVisible() then -- Frame is "shown", but not visible (one or more of its parents isn't shown) elseif MyFrame:IsVisible() then -- Frame is visible on-screen! end
When an object is initialized, the return value of IsShown() is determined by the XML-attribute "hidden" for the object.
- Prior to patch 1.9, FontStrings did not have an :IsShown(). They did have an :IsVisible() method with the behaviour of :IsShown().