---
name: "flyInHeightASL"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/flyInHeightASL
revid: 329162
updated: 2022-07-25T12:35:13Z
---

# flyInHeightASL

*Command · Object Manipulation · Arma 3 v1.62*

## Description

Sets the minimal [ASL](../topics/Position.md#positionasl) height. Final height is `*flyInHeight* max *flyInHeightASL*` - the higher altitude has priority.

## Syntax

```sqf
aircraft flyInHeightASL [standardAltitude, combatAltitude, stealthAltitude]
```

**Parameters:**

- `aircraft`: [Object](../topics/Object.md) - helicopter, airplane
- `standardAltitude`: [Number](../topics/Number.md) - base altitude used when [behaviour](../commands/behaviour.md) is neither "COMBAT" or "STEALTH"
- `combatAltitude`: [Number](../topics/Number.md) -  altitude used when [behaviour](../commands/behaviour.md) is "COMBAT"
- `stealthAltitude`: [Number](../topics/Number.md) - altitude used when [behaviour](../commands/behaviour.md) is "STEALTH"

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

## Examples

### Example 1

```sqf
cobraOne flyInHeightASL [200, 100, 400];
```

## See also

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

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