Garry's Mod Wiki

Garry's Mod Wiki

  table Panel:GetChildren()

Description

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

Returns

1 table
All direct children of this panel.

Example

Print the classnames of the children on the panel.

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...