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: 40ms

Session 0
DB GetPage 7
Generate Html 7
SaveChanges 12
Render Body 0
Render Sidebar 11