{"name":"isAbleToBreathe","title":"isAbleToBreathe","type":"command","url":"https://community.bistudio.com/wiki/isAbleToBreathe","revid":378057,"updated":"2026-02-02T20:53:32Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","description":"If unit is diving and doesn't have a rebreather, it returns false.\nDiving means the unit's head is underwater. If unit is underwater and has a rebreather, the command returns true.","syntaxes":[{"syntax":"isAbleToBreathe unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_canBreath = isAbleToBreathe player;"]}],"see_also":["underwater"],"notes":[{"user":"Vabene1111","date":"2019-05-06T19:43:00Z","text":"Might return false if player enters a vehicle while underwater."}]}