Skip to main content

Vector2.LerpUnclamped(Vector2 a, Vector2 b, number t)

Linearly interpolates between vectors a and b by t.

Parameters:

NameTypeDescription
aVector2a
bVector2b
tnumbert

Returns:

typeDescription
Vector2result

Usage

---@type Vector2
local a;

---@type Vector2
local b;

---@type number
local t;


local val0 = Vector2:LerpUnclamped(a, b, t)