---
name: "enableInfoPanelComponent"
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/enableInfoPanelComponent
revid: 378366
updated: 2026-04-03T16:46:18Z
---

# enableInfoPanelComponent

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

## Description

Controls availability of component to given object info panel.

## Syntax

### Syntax 1

```sqf
unit enableInfoPanelComponent [panelID, componentClassOrType, enable]
```

**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)
- `enable`: [Boolean](../topics/Boolean.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] enableInfoPanelComponent [panelID, componentClassOrType, enable]
```

**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)
- `enable`: [Boolean](../topics/Boolean.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)

## Examples

### Example 1

```sqf
// enables slingload assistant on player's vehicle right panel at driver position
[vehicle player, [-1]] enableInfoPanelComponent ["VehicleSystemsDisplayManagerComponentRight", "SlingLoadDisplay", true];
```

## See also

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

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