Garry's Mod Wiki

Garry's Mod Wiki

  table Panel:GetChildrenInRect( number x, number y, number w, number h )

Description

Returns a table of all visible, selectable children of the panel object that lie at least partially within the specified rectangle.

Arguments

1 number x
The horizontal (x) position of the top-left corner of the rectangle, relative to the panel object.
2 number y
The vertical (y) position of the top-left corner of the rectangle, relative to the panel object.
3 number w
The width of the rectangle.
4 number h
The height of the rectangle.

Returns

1 table
A table of panel objects that lie at least partially within the specified rectangle.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...