---
name: "BIS_fnc_richCurve_getNextKey"
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_getNextKey
revid: 279121
updated: 2021-06-13T21:48:58Z
---

# BIS_fnc_richCurve_getNextKey

*Function · RichCurve · Arma 3 v1.78*

## Description

Get's the next key from given key, null if none exists

## Syntax

```sqf
[] call BIS_fnc_richCurve_getNextKey
```

**Parameters:**

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

**Returns:** Object - The next key

## 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 next key from given key, null if none exists

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

Returns:
Object - The next key
*/
```

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