---
name: "infoPanelComponents"
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/infoPanelComponents
revid: 378365
updated: 2026-04-03T16:46:15Z
---

# infoPanelComponents

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

## Description

Returns array of all components available to given object info panel.

## Syntax

### Syntax 1

```sqf
unit infoPanelComponents panelID
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - the concerned vehicle
- `panelID`: [String](../topics/String.md) - "left" or "right" can be used as panel names

**Returns:** [Array](../topics/Array.md) with [className, componentType, isAccessible]
- className: [String](../topics/String.md) - component classname as defined in object/vehicle config
- componentType: [String](../topics/String.md) - componentType - component type
- isAccessible: [Boolean](../topics/Boolean.md) - boolean flag that shows if component is currently accessible (lack of required item can make it temporarily inaccessible)

### Syntax 2

```sqf
[unit, turretPath] infoPanelComponents panelID
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - the concerned vehicle
- `turretPath`: Turret Path - turret index
- `panelID`: [String](../topics/String.md) - "left" or "right" can be used as panel names

**Returns:** [Array](../topics/Array.md) with [className, componentType, isAccessible]
- className: [String](../topics/String.md) - component classname as defined in object/vehicle config
- componentType: [String](../topics/String.md) - componentType - component type
- isAccessible: [Boolean](../topics/Boolean.md) - boolean flag that shows if component is currently accessible (lack of required item can make it temporarily inaccessible)

## Examples

### Example 1

```sqf
// returns array of all components configured for _helicopter pilot seat
private _componentsData = [_helicopter, [-1]] infoPanelComponents "left";
```

## See also

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

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