---
name: "unitIsUAV"
type: command
status: ok
groups: ["Remote Control"]
arma3_since: "1.64"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/unitIsUAV
revid: 338990
updated: 2023-04-23T07:34:22Z
---

# unitIsUAV

*Command · Remote Control · Arma 3 v1.64*

## Description

Returns whether or not the given transport object is a drone (UAV, UGV), regardless of if it has a crew or if it is empty,
corresponding to the `isUAV` transport parameter.

Arma 3 v2.14 The command can be used to check if the provided unit is a UAV unit.

## Syntax

```sqf
unitIsUAV object
```

**Parameters:**

- `object`: [Object](../topics/Object.md) - vehicle or Arma 3 v2.14 unit

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) when UAV

## Examples

### Example 1

```sqf
unitIsUAV _myUAV;            // true (whether it has driver/gunner or not)
unitIsUAV driver _myUAV;    // true (provided there is a driver)
unitIsUAV gunner _myUAV;    // true (provided there is a gunner)
```

## See also

[allUnitsUAV](../commands/allUnitsUAV.md)

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