> For the complete documentation index, see [llms.txt](https://fast-studios.gitbook.io/press-e/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fast-studios.gitbook.io/press-e/manual/components/lerps.md).

# Lerps

**Lerp** scripts automate one-off transitions (e.g., opening a drawer/door) without extra glue code: add the script and the system animates it. There are **4 lerp scripts**; their specifics live in **subpages**. Below are the **common** settings found in the **Lerps** tab of all of them.

### Target

* **Affect other object**: when **enabled**, apply the lerp to **another object** (not the one hosting the script). Just reference it.

### Behaviour

* **Duration**: total **duration** of the lerp.
* **Curve**: the **animation curve** the lerp will follow.
* **Wait Animation Finish**: when **on**, **blocks starting** a new lerp **until the current one finishes**.
* **Toggle With Original State**: when **on**, allows **toggling** between the object’s **original state** and the **final state**. If you need to **change the original state at runtime**, call **`ChangeOriginalState()`**

### Events

* **On Lerp Start**: invoked when the lerp **starts**.
* **On Complete**: invoked when the lerp **finishes**.
