---
name: "BIS_fnc_diagAnim"
type: function
status: ok
groups: ["Diagnostic"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_diagAnim
revid: 347979
updated: 2023-11-08T09:52:31Z
---

# BIS_fnc_diagAnim

*Function · Diagnostic · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Displays or logs animation states:
- **animChanged** - when action is performed (only to debug.log)
- **animDone** - when animation chain that was started by action is finished (only to debug.log)
- **animStateChanged** - each animation state changes(debug.log + globalchat).

## Syntax

```sqf
[target] call BIS_fnc_diagAnim
```

**Parameters:**

- `target`: [Object](../topics/Object.md) - (Optional, default [player](../commands/player.md)) - the unit whose animation should be logged

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

## Examples

### Example 1

```sqf
call BIS_fnc_diagAnim;
```

<sub>Source: [BI Community Wiki — BIS fnc diagAnim](https://community.bistudio.com/wiki/BIS_fnc_diagAnim) (revision 347979).</sub>
