Garry's Mod Wiki

Panel:GetBounds

Description

Returns the position and size of the panel.

This is equivalent to calling Panel:GetPos and Panel:GetSize together.

Returns

1 number
The x coordinate of the panel, relative to its parent's top left.
2 number
The y coordinate of the panel, relative to its parent's top left.
3 number
The width of the panel.
4 number
The height of the panel.

Page Links


Special Pages


Wikis

?

Render Time: 37ms

DB GetPage 3
Generate Html 11
SaveChanges (1) 9
Render Body 0
Render Sidebar 12