Garry's Mod Wiki

Panel:GetChild

  Panel:GetChild( number childIndex )

Description

Gets a child by its index. For use with Panel:ChildCount.

Arguments

1 number childIndex
The index of the child to get.
This index starts at 0, except when you use this on a DMenu.