---
name: "isAbleToBreathe"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isAbleToBreathe
revid: 378057
updated: 2026-02-02T20:53:32Z
---

# isAbleToBreathe

*Command · Object Manipulation · Arma 3 v0.50*

## Description

If unit is diving and doesn't have a rebreather, it returns [false](../commands/false.md).
Diving means the unit's head is underwater. If unit is underwater and has a rebreather, the command returns [true](../commands/true.md).

## Syntax

```sqf
isAbleToBreathe unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

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

## Examples

### Example 1

```sqf
_canBreath = isAbleToBreathe player;
```

## See also

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

## Community notes

**Vabene1111** — 2019-05-06

Might return false if player enters a vehicle while underwater.

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