---
name: "ctrlMapAnimCommit"
type: command
status: ok
groups: ["GUI Control - Map"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlMapAnimCommit
revid: 321386
updated: 2022-05-14T11:14:10Z
---

# ctrlMapAnimCommit

*Command · GUI Control - Map · Arma 3 v0.50 · introduced in Armed Assault v1.00*

Locality: arguments **local** · effect **local**

## Description

Plays the map animation.

## Syntax

```sqf
ctrlMapAnimCommit mapControl
```

**Parameters:**

- `mapControl`: [Control](../topics/Control.md)

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

## Examples

### Example 1

Center map on player:

```sqf
_ctrl ctrlMapAnimAdd [0, 0.05, player];
ctrlMapAnimCommit _ctrl;
```

## See also

[mapAnimAdd](../commands/mapAnimAdd.md) · [mapAnimClear](../commands/mapAnimClear.md) · [mapAnimCommit](../commands/mapAnimCommit.md) · [mapAnimDone](../commands/mapAnimDone.md) · [ctrlMapAnimAdd](../commands/ctrlMapAnimAdd.md) · [ctrlMapAnimClear](../commands/ctrlMapAnimClear.md) · [ctrlMapAnimDone](../commands/ctrlMapAnimDone.md)

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