---
name: "infoPanels"
type: command
status: ok
groups: ["Custom Panels"]
arma3_since: "1.72"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/infoPanels
revid: 378367
updated: 2026-04-03T16:46:20Z
---

# infoPanels

*Command · Custom Panels · Arma 3 v1.72*

## Description

Returns array all info panels configured for given object or object and turret path.

## Syntax

### Syntax 1

```sqf
infoPanels unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - the concerned vehicle

**Returns:** [Array](../topics/Array.md) - format [[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], ...]:
- infoPanelId: [String](../topics/String.md) - name of the info panel class as defined in vehicle config
- infopanelShortcutId: [String](../topics/String.md) - shortcut representation of *infopanelId*, currently are supported only shortcuts "left" and "right"

### Syntax 2

```sqf
infoPanels [unit, turretPath]
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - the concerned vehicle
- `turretPath`: Turret Path - turret index

**Returns:** [Array](../topics/Array.md) - format [[infoPanelId1, infoPanelShortcutId1], [infoPanelId2, infoPanelShortcutId2], ...]:
- infoPanelId: [String](../topics/String.md) - name of the info panel class as defined in vehicle config
- infopanelShortcutId: [String](../topics/String.md) - shortcut representation of *infopanelId*, currently are supported only shortcuts "left" and "right"

## Examples

### Example 1

```sqf
infoPanels [vehicle player, [0]];
```

## See also

Arma 3: Custom Info · [infoPanel](../commands/infoPanel.md) · [setInfoPanel](../commands/setInfoPanel.md) · [infoPanelComponents](../commands/infoPanelComponents.md) · [enableInfoPanelComponent](../commands/enableInfoPanelComponent.md) · [infoPanelComponentEnabled](../commands/infoPanelComponentEnabled.md) · [openGPS](../commands/openGPS.md)

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