---
name: "BIS_fnc_moveAction"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_moveAction
revid: 327869
updated: 2022-07-13T11:36:50Z
---

# BIS_fnc_moveAction

*Function · Object Manipulation · Arma 3 v1.00*

## Description

Return current move action (used in [playAction](../commands/playAction.md), [playActionNow](../commands/playActionNow.md) and [switchAction](../commands/switchAction.md))

## Syntax

```sqf
[unit, returnConfig] call BIS_fnc_moveAction
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `returnConfig`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to return action config path, [false](../commands/false.md) to return the action name

**Returns:** [Config](../topics/Config.md) or [String](../topics/String.md) - depends on *returnConfig*

## Examples

### Example 1

```sqf
_actionName        = [player, false] call BIS_fnc_moveAction;
_actionConfig    = [player,  true] call BIS_fnc_moveAction;
```

## See also

[playAction](../commands/playAction.md) · [playActionNow](../commands/playActionNow.md) · [switchAction](../commands/switchAction.md) · [playMove](../commands/playMove.md) · [switchMove](../commands/switchMove.md)

<sub>Source: [BI Community Wiki — BIS fnc moveAction](https://community.bistudio.com/wiki/BIS_fnc_moveAction) (revision 327869).</sub>
