{"name":"hideActions","title":"hideActions","type":"command","url":"https://community.bistudio.com/wiki/hideActions","revid":378963,"updated":"2026-09-06T22:42:03Z","groups":["Interaction"],"status":"ok","games":{"arma3":"2.22"},"since":"arma3 2.22","arma3_since":"2.22","description":"> [!IMPORTANT]\n> This command is a work in progress and can evolve until release on stable branch.\n\nHides/unhides user UI actions given by their enum number (see shownAction).\n\n> [!NOTE]\n> This command hides actions for the current player (focusOn), a respawned player will have all actions unhidden so it must be reapplied.","syntaxes":[{"syntax":"hideActions [mode, actions]","params":[{"name":"mode","type":"Number or String or Boolean mode of operation, could be one of:","description":"Number or String or Boolean mode of operation, could be one of:\n\n- 0 or \"UnhideSelected\" or false - only given actions (if previously hidden) would be unhidden\n- 1 or \"HideSelected\" or true - only given actions would be hidden\n- 2 or \"UnhideAllButSelected\" - all hidden actions will be unhidden except for the given actions\n- 3 or \"HideAllButSelected\" - all actions will be hidden except for the given actions","type_expr":"Number | String | Boolean","text":"mode: Number or String or Boolean mode of operation, could be one of:\n\n- 0 or \"UnhideSelected\" or false - only given actions (if previously hidden) would be unhidden\n- 1 or \"HideSelected\" or true - only given actions would be hidden\n- 2 or \"UnhideAllButSelected\" - all hidden actions will be unhidden except for the given actions\n- 3 or \"HideAllButSelected\" - all actions will be hidden except for the given actions"},{"name":"actions","type":"Array of Numbers (see shownAction)","type_expr":"Array<Number>"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[mode, actions]"}}],"examples":[{"code":["hideActions [true, [1, 2]]; //hide GetInCommander and GetInDriver actions"]},{"code":["hideActions [\"UnhideSelected\", [1, 2]]; //unhide GetInCommander and GetInDriver actions"]},{"code":["hideActions [1, [91]]; //hide all user added actions"]},{"code":["hideActions [\"HideAllButSelected\", [91]]; //hide all engine actions leaving only user added"]},{"code":["hideActions [3, []]; //hide all actions"]},{"code":["hideActions [\"UnhideAllButSelected\", []]; //unhide all hidden actions"]}],"see_also":["hiddenActions","shownAction","visibleMap","shownGPS","shownWatch","shownCompass","shownUAVFeed","shownHUD","addAction","action","isActionMenuVisible","Arma 3: Mission Event Handlers"],"notes":[{"user":"Honger","date":"2026-08-27T20:33:24Z","text":"Hidden actions will also be unhidden once a game save is loaded/game is continued, \"Loaded\" Mission EH is therefore needed to maintain the chosen actions hidden. Actions need to be hidden again if player takes control of a UAV."}]}