Garry's Mod Wiki

Garry's Mod Wiki

  number Panel:NumSelectedChildren()

Description

Returns the number of children of the panel object that are selected. This is equivalent to calling Panel:IsSelected on all child objects and counting the number of returns that are true.

Returns

1 number
The number of child objects that are currently selected. This does not include the parent object you are calling the method from.

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...