NB! It seems this console command is not compatible with CS2.
Command Profile

HIDEPANEL

CS:GO

This command will hide the specified viewport panel.

Syntax
hidepanel [Viewport Panel]

Description

This command will hide the specified viewport panel.

How To Use hidepanel

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter hidepanel [Viewport Panel], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

hidepanel [Viewport Panel]
Viewport Panel The name of the viewport panel you wish to hide.

Related Commands