---
name: "completedFSM"
type: command
status: ok
groups: ["System"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/completedFSM
revid: 310814
updated: 2022-05-07T20:23:36Z
---

# completedFSM

*Command · System · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Checks whether the given FSM is completed. The FSM handle is the number returned by the [execFSM](../commands/execFSM.md) command.

## Syntax

```sqf
completedFSM fsmHandle
```

**Parameters:**

- `fsmHandle`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
_completed = completedFSM _fsmHandle;
```

## See also

FSM · [commandFSM](../commands/commandFSM.md) · [doFSM](../commands/doFSM.md) · [execFSM](../commands/execFSM.md) · [getFSMVariable](../commands/getFSMVariable.md) · [setFSMVariable](../commands/setFSMVariable.md)

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