---
name: "setAutonomous"
type: command
status: ok
groups: ["Remote Control"]
arma3_since: "1.16"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setAutonomous
revid: 364993
updated: 2024-07-04T19:58:05Z
---

# setAutonomous

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

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

## Description

Sets UAV autonomous mode.

## Syntax

```sqf
uav setAutonomous bool
```

**Parameters:**

- `uav`: [Object](../topics/Object.md)
- `bool`: [Boolean](../topics/Boolean.md)

**Returns:** [Boolean](../topics/Boolean.md) - whether the operation was successful. Returns [false](../commands/false.md) when the object is not a uav.

## Examples

### Example 1

```sqf
uav setAutonomous true;
```

## See also

[isAutonomous](../commands/isAutonomous.md) · [disableAI](../commands/disableAI.md) · [enableAI](../commands/enableAI.md) · [checkAIFeature](../commands/checkAIFeature.md)

## Community notes

**Sa-Matra** — 2023-04-30

This command effectively does [disableAI](../commands/disableAI.md) on this list of features: `["ANIM","AUTOTARGET","CHECKVISIBLE","FSM","MOVE","PATH","TARGET","WEAPONAIM"]`, the effect is local, just like [disableAI](../commands/disableAI.md). If at least one of these AI features is disabled, then "Autonomous" checkbox in UAV Terminal will be turned off, [isAutonomous](../commands/isAutonomous.md) will return false, you won't be able to give it waypoints, despite UAV still being mostly autonomous.

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