---
name: "BIS_fnc_richCurve_getKeysAtTime"
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_getKeysAtTime
revid: 279120
updated: 2021-06-13T21:48:58Z
---

# BIS_fnc_richCurve_getKeysAtTime

*Function · RichCurve · Arma 3 v1.78*

## Description

Get's keys (prev / next) at given time

## Syntax

```sqf
[] call BIS_fnc_richCurve_getKeysAtTime
```

**Parameters:**

- `param0` — 0: Object     - The curve
- `param1` — 1: Float    - The time

**Returns:** Array - Previous and next keys

## 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 keys (prev / next) at given time

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

Returns:
Array - Previous and next keys
*/
```

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