Skip to content

Lerp

Description

Lerp is a Function on Vector2
Returns a Vector2 in between two given Vector2, based on a given value t between 0 and 1.

Example
local testVariable = Vector2.Lerp(Vector2.New(1, 1), Vector2.New(1, 1), 1.0)
Usage

network usage: Any (Client or Server/Host)
returns: Vector2
parameters:
- a (Vector2)
- b (Vector2)
- t (float)