---
name: "enableCopilot"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/enableCopilot
revid: 369225
updated: 2024-09-03T10:34:55Z
---

# enableCopilot

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Take On Helicopters v1.01*

Locality: arguments **global** · effect **local**

## Description

Enables copilot actions, toggles availability of the actions related to copilots, such as taking over controls, suspending controls, etc. This command triggers the `"ControlsShifted"` event handler.

## Syntax

```sqf
vehicle enableCopilot enable
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) - vehicle on which to toggle copilot actions
- `enable`: [Boolean](../topics/Boolean.md) - enable or disable

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

## Examples

### Example 1

```sqf
if (!isCopilotEnabled myHeli) then
{
    myHeli enableCopilot true;
};
```

## Multiplayer

Execute this command globally (e.g with [remoteExec](../commands/remoteExec.md)) to have it synced on all clients.

## See also

[isCopilotEnabled](../commands/isCopilotEnabled.md) · [currentPilot](../commands/currentPilot.md)

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