---
name: "infoPanelComponentEnabled"
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/infoPanelComponentEnabled
revid: 377489
updated: 2026-01-02T06:49:10Z
---

# infoPanelComponentEnabled

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

## Description

Controls availability of component to given object info panel.

## Syntax

### Syntax 1

```sqf
unit infoPanelComponentEnabled [panelID, componentClassOrType]
```

**Parameters:**

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

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if component was successfully enabled on the panel, [false](../commands/false.md) otherwise (e.g. component is not available for the object)

### Syntax 2

```sqf
[unit, turretPath] infoPanelComponentEnabled [panelID, componentClassOrType]
```

**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
- `componentClassOrType`: [String](../topics/String.md)

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

## Examples

### Example 1

```sqf
// returns true if specific component "SensorDisplay" is enabled on player vehicle's left panel
_state = [vehicle player, [-1]] infoPanelComponentEnabled ["VehicleSystemsDisplayManagerComponentLeft", "SensorDisplay"];
```

### Example 2

```sqf
// returns true if all "SensorsDisplayComponent" components are enabled on player vehicle's left panel, otherwise returns false
_state = [vehicle player, [-1]] infoPanelComponentEnabled ["VehicleSystemsDisplayManagerComponentLeft", "SensorsDisplayComponent"];
```

## See also

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

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