# toggleAirplaneMode

Toggles the device's airplane mode on or off.

{% hint style="info" %}
This command is only useful on Android. iOS simulators do not have an airplane mode. On iOS or web, the command will pass but has no effect.
{% endhint %}

### Syntax

This command takes no arguments.

```yaml
- toggleAirplaneMode
```

### Related commands

* [setairplanemode](https://docs.maestro.dev/reference/commands-available/setairplanemode "mention")
