{"name":"shownCompass","title":"shownCompass","type":"command","url":"https://community.bistudio.com/wiki/shownCompass","revid":379392,"updated":"2026-10-31T00:00:24Z","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":"Checks if client has Compass enabled in description.ext (*showCompass* param) or force enabled with showCompass command.","syntaxes":[{"syntax":"shownCompass","params":[],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"nullary"}],"examples":[{"code":["if (shownCompass) then {hint \"You have Compass enabled\"};"]}],"see_also":["showCompass","visibleCompass","shownGPS","shownWatch","shownHUD"],"notes":[{"user":"POLPOX","date":"2020-03-09T08:12:00Z","text":"Even if you're aiming down a sight (which is usually you can't open the compass), shownCompass returns true if you press the compass key (K)."}]}