# Enum.KeyInterpolationMode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/KeyInterpolationMode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/KeyInterpolationMode

Describes the interpolation method between two keys.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Constant` | 0 | The segment starting at this key will constantly evaluate to the value set at this key. |
| `Linear` | 1 | The segment starting at this key will evaluate using a linear interpolation at this key and the value at the next key. |
| `Cubic` | 2 | The segment starting at this key will evaluate using cubic interpolation of this key value using its right tangent and the next key value and its left tangent. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [ValueCurve](https://rapi.sleaze.dev/classes/ValueCurve.md): method parameter `InsertKeyValue`
