---
name: "isFormationLeader"
type: command
status: ok
groups: ["Groups"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isFormationLeader
revid: 349302
updated: 2023-11-08T14:52:18Z
---

# isFormationLeader

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

## Description

Returns true if the specified unit is subgroup leader.

## Syntax

```sqf
isFormationLeader unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - unit being checked.

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if unit is subgroup leader.

## Examples

### Example 1

```sqf
_isLeader = isFormationLeader player;
```

## See also

[commandFollow](../commands/commandFollow.md) · [doFollow](../commands/doFollow.md) · [formationLeader](../commands/formationLeader.md) · [formLeader](../commands/formLeader.md) · [leader](../commands/leader.md) · [selectLeader](../commands/selectLeader.md) · [setLeader](../commands/setLeader.md)

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