---
name: "teamSwitchEnabled"
type: command
status: ok
groups: ["Team Switch"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/teamSwitchEnabled
revid: 351297
updated: 2023-11-27T03:58:49Z
---

# teamSwitchEnabled

*Command · Team Switch · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Check if Team Switch is currently enabled.
Team Switch is enabled by default.

## Syntax

```sqf
teamSwitchEnabled
```

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

## Examples

### Example 1

```sqf
_isTeamSwitchEnabled = teamSwitchEnabled;
```

## See also

Team Switch · [enableTeamSwitch](../commands/enableTeamSwitch.md) · [onBriefingTeamSwitch](../commands/onBriefingTeamSwitch.md) · [onTeamSwitch](../commands/onTeamSwitch.md) · [teamSwitch](../commands/teamSwitch.md)

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