Garry's Mod Wiki

Panel:GetBounds

number, number, number, number 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: 43ms

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