Panel/GetChildren

From Garry's Mod
Jump to: navigation, search
 Panel:GetChildren( )

Contents

Description

Returns a table with all the child panels of the panel.

Returns

table

children

Examples

Example

Print the classnames of the children on the panel

for i, v in ipairs(panel:GetChildren()) do
    print(v:GetClassName())
end


Personal tools
Navigation