---
name: "menuEnable"
type: command
status: ok
groups: ["GUI Control - Menu"]
arma3_since: "1.56"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/menuEnable
revid: 378329
updated: 2026-04-02T16:30:39Z
---

# menuEnable

*Command · GUI Control - Menu · Arma 3 v1.56*

## Description

Enables or disables menu entry on given path.

## Syntax

### Syntax 1

```sqf
menuEnable [idc, path, enable]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md)
- `enable`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) disabled if [false](../commands/false.md) *(since arma3 2.06)*

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

### Syntax 2

```sqf
control menuEnable [path, enable]
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md)
- `enable`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) disabled if [false](../commands/false.md) *(since arma3 2.06)*

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

### Syntax 3

```sqf
control menuEnable path > [!CAUTION] > This information is obsolete. This old syntax is kept only for backward compatibility.
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md)

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

## Examples

### Example 1

```sqf
findDisplay 313 displayCtrl 120 menuEnable [0]; // old syntax, do not use
```

### Example 2

```sqf
findDisplay 313 displayCtrl 120 menuEnable [[0, 0, 1], false]; // since Arma 3 v2.06
```

## See also

[menuEnabled](../commands/menuEnabled.md)

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