---
name: "menuExpand"
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/menuExpand
revid: 378347
updated: 2026-04-02T16:31:34Z
---

# menuExpand

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

## Description

Expands given menu entry on given path and all its parents so entry is visible.

## Syntax

### Syntax 1

```sqf
menuExpand [idc, path]
```

**Parameters:**

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

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

### Syntax 2

```sqf
control menuExpand path
```

**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 menuExpand [0, 1];
```

## See also

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

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