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

# BIS_fnc_richCurve_getKeyFromIndex

*Function · RichCurve · Arma 3 v1.78*

## Description

Get's the key in given index of given curve

## Syntax

```sqf
[] call BIS_fnc_richCurve_getKeyFromIndex
```

**Parameters:**

- `param0` — 0: Object - The curve
- `param1` — 1: Integer - The key index

**Returns:** Object - The key at given index

## 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:
Get's the key in given index of given curve

Parameter(s):
_this select 0: Object - The curve
_this select 1: Integer - The key index

Returns:
Object - The key at given index
*/
```

<sub>Source: [BI Community Wiki — BIS fnc richCurve getKeyFromIndex](https://community.bistudio.com/wiki/BIS_fnc_richCurve_getKeyFromIndex) (revision 279137).</sub>
