Garry's Mod Wiki


  table Panel:GetSelectedChildren()


Returns a table of all children of the panel object that are selected. This is recursive, and the returned table will include tables for any child objects that also have children. This means that not all first-level members in the returned table will be of type Panel.


1 table
A table of any child objects that are selected, including tables for children of the child objects (These tables may also contain table members, as the method is recursive).