---
name: "BIS_fnc_easeIn"
type: function
status: ok
groups: ["Interpolation"]
arma3_since: "1.78"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_easeIn
revid: 348777
updated: 2023-11-08T14:33:15Z
---

# BIS_fnc_easeIn

*Function · Interpolation · Arma 3 v1.78*

## Description

Wraps [BIS_fnc_lerp](../functions/BIS_fnc_lerp.md).

## Syntax

```sqf
[a, b, alpha, exp] call BIS_fnc_easeIn
```

**Parameters:**

- `a`: [Number](../topics/Number.md) - (Optional, default 0) first point (start)
- `b`: [Number](../topics/Number.md) - (Optional, default 0) second point (end)
- `alpha`: [Number](../topics/Number.md) - (Optional, default 0) original interpolation speed
- `exp`: [Number](../topics/Number.md) - (Optional, default 2) power applied to alpha

**Returns:** [Number](../topics/Number.md) - interpolated value

## Examples

### Example 1

```sqf
[] call BIS_fnc_easeIn; // returns 0
```

### Example 2

```sqf
[0, 2, 0.5] call BIS_fnc_easeIn; // returns 0.5
```

### Example 3

```sqf
([0, 2, 0.5] call BIS_fnc_lerp) == ([0, 2, 0.5, 1] call BIS_fnc_easeIn); // returns true
```

## See also

[BIS_fnc_lerp](../functions/BIS_fnc_lerp.md)

<sub>Source: [BI Community Wiki — BIS fnc easeIn](https://community.bistudio.com/wiki/BIS_fnc_easeIn) (revision 348777).</sub>
