Motion
Get Motion

ReferenceScripting APIVector2lerp

Vector2.lerp

method

Between this and another, t of the way.

Namelerp
Kindmethod of Vector2
Called asvector2.lerp(…)
Since0.3

Syntax

lerp(    v: Vector2,    t: number): Vector2

Parameters

NameTypeDescription
vVector2The other
tnumber0 to 1

Returns

Vector2: the vector.