Garry's Mod Wiki

Panel:GetChildrenInRect

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.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 4
Generate Html 7
SaveChanges 12
Render Body 0
Render Sidebar 6