---
name: "visibleCompass"
type: command
status: ok
groups: ["Interaction"]
arma3_since: "1.22"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/visibleCompass
revid: 319850
updated: 2022-05-13T09:25:35Z
---

# visibleCompass

*Command · Interaction · Arma 3 v1.22*

## Description

Checks if the player has compass opened and visible. Keep in mind that the GPS minimap in Arma 3 also shows the direction.

## Syntax

```sqf
visibleCompass
```

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

## Examples

### Example 1

```sqf
if (visibleCompass) then {hint "Compass is visible"};
```

## See also

[showCompass](../commands/showCompass.md) · [shownCompass](../commands/shownCompass.md) · [visibleGPS](../commands/visibleGPS.md) · [visibleWatch](../commands/visibleWatch.md)

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