---
name: "enableFreeLook"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "2.22"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/enableFreeLook
revid: 379078
updated: 2026-09-27T07:30:52Z
---

# enableFreeLook

*Command · Object Manipulation · Arma 3 v2.22*

## Description

Enables or disables the freelook toggle (2x Alt)

## Syntax

```sqf
enableFreeLook enable
```

**Parameters:**

- `enable`: [Boolean](../topics/Boolean.md) - enable or disable the toggle

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

## Examples

### Example 1

```sqf
enableFreeLook true;
```

### Example 2

```sqf
// a function to get the current state without making changes
private _fnc_isFreeLookToggled = 
{
  private _oldState = enableFreeLook true; // enable temporarily; get state
  enableFreeLook _oldState;
  _oldState; // return the state
};

private _isFreeLookToggled = call _fnc_isFreeLookToggled;

// a function to toggle the state
private _fnc_toggleFreeLook = 
{
  enableFreeLook !enableFreeLook false;
};

call _fnc_toggleFreeLook; // toggle it (if enabled->disable it, and vice versa)
```

## See also

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

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