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

DB GetPage 16
Generate Html 10
SaveChanges (1) 153
Render Body 0
Render Sidebar 16