---
name: "remoteControlled"
type: command
status: ok
groups: ["Remote Control"]
arma3_since: "2.14"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/remoteControlled
revid: 349626
updated: 2023-11-16T13:24:07Z
---

# remoteControlled

*Command · Remote Control · Arma 3 v2.14*

Locality: arguments **local**

## Description

Returns the player controlling the given unit if the argument is the unit, or the unit controlled by the player if the argument is the player.

> [!IMPORTANT]
> See also Remote Control Tutorial.

## Syntax

```sqf
remoteControlled unitOrPlayer
```

**Parameters:**

- `unitOrPlayer`: [Object](../topics/Object.md) - unit under remote control or the player controlling a unit

**Returns:** [Object](../topics/Object.md) - the person controlling the unit or the unit controlled by the player; [objNull](../commands/objNull.md) if not applicable

## Examples

### Example 1

```sqf
private _controllingPlayer = remoteControlled _dronePilot;
```

### Example 2

```sqf
private _dronePilot = remoteControlled _controllingPlayer;
```

## See also

[remoteControl](../commands/remoteControl.md) · [isRemoteControlling](../commands/isRemoteControlling.md)

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