---
name: "hcShownBar"
type: command
status: ok
groups: ["High Command"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/hcShownBar
revid: 319103
updated: 2022-05-13T09:23:11Z
---

# hcShownBar

*Command · High Command · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Return whether the High Command bar is shown/active.

## Syntax

```sqf
hcShownBar
```

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if HC bar is shown, otherwise [false](../commands/false.md)

## Examples

### Example 1

```sqf
if (hcShownBar) then { hint "HC bar is active"; };
```

## See also

High Command · [hcAllGroups](../commands/hcAllGroups.md) · [hcGroupParams](../commands/hcGroupParams.md) · [hcLeader](../commands/hcLeader.md) · [hcRemoveAllGroups](../commands/hcRemoveAllGroups.md) · [hcRemoveGroup](../commands/hcRemoveGroup.md) · [hcSelected](../commands/hcSelected.md) · [hcSelectGroup](../commands/hcSelectGroup.md) · [hcSetGroup](../commands/hcSetGroup.md) · [hcShowBar](../commands/hcShowBar.md) · [onHCGroupSelectionChanged](../commands/onHCGroupSelectionChanged.md)

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