{"name":"showCompass","title":"showCompass","type":"command","url":"https://community.bistudio.com/wiki/showCompass","revid":379473,"updated":"2026-10-31T00:11:12Z","groups":["Interaction"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","description":"Shows or hides the compass on the map screen, if enabled for the mission and you possess the item. (default true)","syntaxes":[{"syntax":"showCompass show","params":[{"name":"show","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"show"}}],"examples":[{"code":["showCompass false;"]}],"see_also":["shownCompass","visibleCompass","showGPS","showRadio","showWatch","showPad","showMap"],"notes":[{"user":"Generalcarver","date":"2009-08-16T00:00:00Z","text":"In Arma 2, the Compass is now an inventory item. Class path is CfgWeapons->ItemCompass. Use the commands addWeapon and removeWeapon to add or remove it from a unit's inventory. (example: player addweapon \"ItemCompass\")"}]}