---
name: "BIS_fnc_objectInventoryAnimatedClose"
type: function
status: ok
groups: ["Scripts"]
arma3_since: "1.00"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_objectInventoryAnimatedClose
revid: 348584
updated: 2023-11-08T13:42:15Z
---

# BIS_fnc_objectInventoryAnimatedClose

*Function · Scripts · Arma 3 v1.00*

Locality: arguments **global** · effect **global**

## Description

Animates an object being closed, for example a drawer. The counter set by [BIS_fnc_objectInventoryAnimatedOpen](../functions/BIS_fnc_objectInventoryAnimatedOpen.md) gets reset when this function is called.

## Syntax

```sqf
[object, animationArray] call BIS_fnc_objectInventoryAnimatedClose
```

**Parameters:**

- `object`: [Object](../topics/Object.md) - object
- `animationArray`: [Array](../topics/Array.md) - an Array in form of:

  0: String - Animation Name

  1: Number - Animation phase

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

## See also

[BIS_fnc_objectInventoryAnimatedOpen](../functions/BIS_fnc_objectInventoryAnimatedOpen.md)

<sub>Source: [BI Community Wiki — BIS fnc objectInventoryAnimatedClose](https://community.bistudio.com/wiki/BIS_fnc_objectInventoryAnimatedClose) (revision 348584).</sub>
