---
name: "BIS_fnc_key_getInterpMode"
type: function
status: ok
groups: ["Key"]
arma3_since: "1.78"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_key_getInterpMode
revid: 279036
updated: 2021-06-13T21:47:58Z
---

# BIS_fnc_key_getInterpMode

*Function · Key · Arma 3 v1.78*

## Description

Returns the key interp mode index 0  - Linear 1  - Cubic 2  - EaseIn 3  - EaseOut 4  - EaseInOut 5  - Hermite 6  - Berp 7  - BounceIn 8  - BounceOut 9  - BounceInOut 10 - QuinticIn 11 - QuinticOut 12 - QuinticInOut 13 - ElasticIn 14 - ElasticOut 15 - ElasticInOut

## Syntax

```sqf
[] call BIS_fnc_key_getInterpMode
```

**Parameters:**

- `param0` — 0: Object - The key

**Returns:** Integer - The mode as integer

## Function header

The comment at the top of the function's file in the game; this page's description, params, returns come from it.

```sqf
/*
Author: Nelson Duarte <@Nelson_G_Duarte>

Description:
Returns the key interp mode index
 0  - Linear
 1  - Cubic
 2  - EaseIn
 3  - EaseOut
 4  - EaseInOut
 5  - Hermite
 6  - Berp
 7  - BounceIn
 8  - BounceOut
 9  - BounceInOut
 10 - QuinticIn
 11 - QuinticOut
 12 - QuinticInOut
 13 - ElasticIn
 14 - ElasticOut
 15 - ElasticInOut

Parameter(s):
_this select 0: Object - The key

Returns:
Integer - The mode as integer
*/
```

<sub>Source: [BI Community Wiki — BIS fnc key getInterpMode](https://community.bistudio.com/wiki/BIS_fnc_key_getInterpMode) (revision 279036).</sub>
