Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns a list of child frames belonging to the frame.

child1, ... = Frame:GetChildren()

Returns[]

child1, ...
ScriptObject? - A list of frames which are children of this frame or nil if there are noone.

Example[]

Iterates through each child using a table.

local children = {PlayerFrame:GetChildren()}

for i, child in ipairs(children) do
	print(i, child:GetObjectType(), child:GetDebugName())
end
1, "Frame", "PlayerFrame.Selection"
2, "Frame", "PlayerFrame.PlayerFrameContainer"
3, "Frame", "PlayerFrame.PlayerFrameContent"
4, "Frame", "PlayerFrameDropDown"
5, "Frame", "PlayerFrameBottomManagedFramesContainer"
...

Patch changes[]

WoW Icon update Patch 1.7.0 (2005-09-13): Added.[1]

References[]

Advertisement