---
name: "showLegend"
type: command
status: ok
groups: ["Game 2 Editor"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/showLegend
revid: 363238
updated: 2024-03-26T10:51:16Z
---

# showLegend

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

## Description

Show/hide map legend.

> [!NOTE]
> Some Old Editor Command

## Syntax

```sqf
map showLegend bool
```

**Parameters:**

- `map`: [Control](../topics/Control.md)
- `bool`: [Boolean](../topics/Boolean.md)

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

## Examples

### Example 1

-

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