Garry's Mod Wiki

Panel:GetSize

  number, number Panel:GetSize()

Description

Returns the size of the panel.

If you require both the panel's position and size, consider using Panel:GetBounds instead.

Returns

1 number
width
2 number
height