Garry's Mod Wiki

Panel:GetChildrenInRect

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.

Page Links


Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 7
Generate Html 13
SaveChanges (1) 14
Render Body 0
Render Sidebar 16