{"name":"showHUD","operator":null,"title":"showHUD","type":"command","url":"https://community.bistudio.com/wiki/showHUD","revid":377971,"updated":"2026-01-19T13:33:47Z","groups":["Interaction"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Enable / disable showing of HUD. Defines visibility of weapon crosshair and any informational tags that appear when pointing the weapon at an object as well as availability of the default action menu. Unfortunately, it also hides icons drawn with drawIcon3D.\n\n> [!NOTE]\n> **Arma 3:** **Since Arma 3 v1.50** there is a Description.ext's showHUD[] array param that is identical in format to the extended showHUD command.\n> When present, it will disable showHUD command entirely, allowing mission makers to permanently alter visibility of some HUD elements.\n>\n> **Since Arma 3 v2.04** it is possible to force drawing of drawIcon3D icons when HUD is hidden.\n> The icons will also show when custom camera is created and the view is switched to it via switchCamera or cameraEffect provided cameraEffectEnableHUD is enabled.\n> For more information see drawIcon3D.","syntaxes":[{"syntax":"showHUD enable","since":null,"effect":null,"exec":null,"params":[{"name":"enable","type":"Boolean","optional":false,"default":null,"description":null,"types":["Boolean"],"since":null,"text":"enable: Boolean"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"enable","types":["Boolean"]}},{"syntax":"showHUD [scriptedHUD, info, radar, compass, direction, menu, group, cursors, panels, kills, showIcon3D]","since":null,"effect":null,"exec":null,"params":[{"name":"scriptedHUD","type":"Boolean","optional":false,"default":null,"description":"show scripted HUD such as weapon crosshair, action menu and overlays created with cutRsc and titleRsc. Same as showHUD's first syntax","types":["Boolean"],"since":null,"text":"scriptedHUD: Boolean - show scripted HUD such as weapon crosshair, action menu and overlays created with cutRsc and titleRsc. Same as showHUD's first syntax"},{"name":"info","type":"Boolean","optional":true,"default":"true","description":"show vehicle, soldier and weapon info","types":["Boolean"],"since":null,"text":"info: Boolean - (Optional, default true) show vehicle, soldier and weapon info"},{"name":"radar","type":"Boolean","optional":true,"default":"true","description":"show vehicle radar","types":["Boolean"],"since":null,"text":"radar: Boolean - (Optional, default true) show vehicle radar"},{"name":"compass","type":"Boolean","optional":true,"default":"true","description":"show vehicle compass","types":["Boolean"],"since":null,"text":"compass: Boolean - (Optional, default true) show vehicle compass"},{"name":"direction","type":"Boolean","optional":true,"default":"true","description":"show tank direction indicator. Not present in vanilla Arma 3","types":["Boolean"],"since":null,"text":"direction: Boolean - (Optional, default true) show tank direction indicator. Not present in vanilla Arma 3"},{"name":"menu","type":"Boolean","optional":true,"default":"true","description":"show commanding menu (HC related menus)","types":["Boolean"],"since":null,"text":"menu: Boolean - (Optional, default true) show commanding menu (HC related menus)"},{"name":"group","type":"Boolean","optional":true,"default":"true","description":"show group info bar (Squad leader info bar)","types":["Boolean"],"since":null,"text":"group: Boolean - (Optional, default true) show group info bar (Squad leader info bar)"},{"name":"cursors","type":"Boolean","optional":true,"default":"true","description":"show HUD weapon cursors (connected with scripted HUD)","types":["Boolean"],"since":null,"text":"cursors: Boolean - (Optional, default true) show HUD weapon cursors (connected with scripted HUD)"},{"name":"panels","type":"Boolean","optional":true,"default":"true","description":"show Arma 3: Custom Info","types":["Boolean"],"since":"arma3 1.70","text":"panels: Boolean - (Optional, default true) show Arma 3: Custom Info"},{"name":"kills","type":"Boolean","optional":true,"default":"true","description":"show \"x killed by y\" systemChat messages","types":["Boolean"],"since":null,"text":"kills: Boolean - (Optional, default true) show \"x killed by y\" systemChat messages"},{"name":"showIcon3D","type":"Boolean","optional":true,"default":"false","description":"show icons drawn with drawIcon3D even when the HUD is hidden","types":["Boolean"],"since":"arma3 2.04","text":"showIcon3D: Boolean - (Optional, default false) show icons drawn with drawIcon3D even when the HUD is hidden"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[scriptedHUD, info, radar, compass, direction, menu, group, cursors, panels, kills, showIcon3D]","types":["Array"]}}],"examples":[{"text":"```sqf\nshowHUD false;\n```","code":["showHUD false;"]},{"text":"Hide vehicle radar and compass:\n\n```sqf\nshowHUD [\n    true,  // scriptedHUD\n    true,  // info\n    false, // radar\n    false, // compass\n    true,  // direction\n    true,  // menu\n    true,  // group\n    true,  // cursors\n    true,  // panels\n    true,  // kills\n    true   // showIcon3D\n];\n```","code":["showHUD [\n\ttrue,  // scriptedHUD\n\ttrue,  // info\n\tfalse, // radar\n\tfalse, // compass\n\ttrue,  // direction\n\ttrue,  // menu\n\ttrue,  // group\n\ttrue,  // cursors\n\ttrue,  // panels\n\ttrue,  // kills\n\ttrue   // showIcon3D\n];"]},{"text":"Check if HUD visibility is hardcoded in mission config and showHUD command is overridden:\n\n```sqf\nprivate _disabledShowHUD = isArray (missionConfigFile >> \"showHUD\");\n```","code":["private _disabledShowHUD = isArray (missionConfigFile >> \"showHUD\");"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["shownHUD","showCinemaBorder","showSubtitles","showWatch","showRadio","showMap","showGPS","showCompass","showPad"],"notes":[{"user":"Killzone_Kid","date":"2015-08-17T19:08:00Z","text":"The \"cursors\" parameter controls visibility of the action menu as well as weapon cursors.\nHowever if 1st param \"hud\" hides and disables action menu, param \"cursors\" only hides it. So you get invisible action menu that is fully operational.\ninGameUISetEventHandler will still fire on interaction, giving the information about selected item on the action menu even if you cannot see it.\nUnfortunately it also hides icons drawn with drawIcon3D."},{"user":"POLPOX","date":"2020-03-01T14:33:00Z","text":"```sqf\nshowHUD false;\n```\n\n removes Contact's compass that is shown at the top of the screen."}],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Interaction","Introduced with Arma 2 version 1.00","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}