> For the complete documentation index, see [llms.txt](https://acestudios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://acestudios.gitbook.io/docs/tactical-and-military/squad-link-v2/commands.md).

# Commands & Controls

Player commands and default key bindings for Squad-Link V2.

All command names and keys can be changed in `config.lua`. The defaults are shown below.

## Commands

| Command                 | Permission                                                                   | Description                                                                              |
| ----------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `/atac <frequency>`     | No permission option in config                                               | Sets your frequency, for example `/atac 101.1`. This command also toggles enlarged mode. |
| `/AtacStats`            | No permission option in config                                               | Shows/hides the statistics overlay.                                                      |
| `/togglemodel`          | No permission option in config (requires `AllowInGameModelChange = true`)    | Cycles through the available device colors.                                              |
| `/changepos <position>` | No permission option in config (requires `AllowInGamePositionChange = true`) | Moves the device on screen.                                                              |

### Positions for `/changepos`

You can use either the number or the name:

| Number | Name          |
| :----: | ------------- |
|   `1`  | `left`        |
|   `2`  | `middle`      |
|   `3`  | `right`       |
|   `4`  | `upper-right` |
|   `5`  | `down-right`  |

```
/changepos 1
/changepos upper-right
```

## Default controls

| Key                         | Action                       |
| --------------------------- | ---------------------------- |
| <kbd>Left Alt</kbd>         | Hide / show the device       |
| <kbd>H</kbd>                | Hide / show statistics       |
| <kbd>/</kbd>                | Toggle enlarged mode         |
| <kbd>↑</kbd> / <kbd>↓</kbd> | Zoom in / out while enlarged |

## Exports & events

No exports or public events are included.
