Garry's Mod Wiki

GetHUDPanel

  Panel GetHUDPanel()

Description

Returns the panel that is used as a wrapper for the HUD. If you want your panel to be hidden when the main menu is opened, parent it to this. Child panels will also have their controls disabled.

See also vgui.GetWorldPanel

Returns

1 Panel
The HUD panel