Fandom

WoWWiki

API Frame GetChildren

104,633pages on
this wiki
Add New Page
Talk0 Share

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.

Widget API ← Frame < GetChildren


Gets the children of a frame.

child1, child2, ..., childN = Frame:GetChildren()


Arguments Edit

None


Returns Edit

(child1, child2, ...)
child1 
Frame - The first child of the frame
child2 
Frame - The second child of the frame
...
childN 
Frame - The last child of the frame


Example Edit

local kids = { QuestLogFrame:GetChildren() };

for _, child in ipairs(kids) do
  -- stuff
end

Also on Fandom

Random Wiki