---
name: "shownCompass"
type: command
status: ok
groups: ["Interaction"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/shownCompass
revid: 379392
updated: 2026-10-31T00:00:24Z
---

# shownCompass

*Command · Interaction · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

Checks if client has Compass enabled in [description.ext](../topics/Description.ext.md) (*showCompass* param) or force enabled with [showCompass](../commands/showCompass.md) command.

## Syntax

```sqf
shownCompass
```

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
if (shownCompass) then {hint "You have Compass enabled"};
```

## See also

[showCompass](../commands/showCompass.md) · [visibleCompass](../commands/visibleCompass.md) · [shownGPS](../commands/shownGPS.md) · [shownWatch](../commands/shownWatch.md) · [shownHUD](../commands/shownHUD.md)

## Community notes

**POLPOX** — 2020-03-09

Even if you're aiming down a sight (which is usually you can't open the compass), [shownCompass](../commands/shownCompass.md) returns true if you press the compass key (K).

<sub>Source: [BI Community Wiki — shownCompass](https://community.bistudio.com/wiki/shownCompass) (revision 379392).</sub>
