How can I disable HUD using a console command?

Is there a way a fast way to disable HUD, using a console command? I would like to remove it to do better in-game screenshot.


Entering toggleMenus (or just tm) into the console will toggle the HUD's visibility. Beware that it also makes the console invisible!


I found the best way to turn off the HUD is to turn the HUD opacity all the way down in the display menu.