ReferenceScripting APIVector2lerp
Vector2.lerp
methodBetween this and another, t of the way.
| Name | lerp |
|---|---|
| Kind | method of Vector2 |
| Called as | vector2.lerp(…) |
| Since | 0.3 |
Syntax
lerp( v: Vector2, t: number): Vector2Parameters
| Name | Type | Description |
|---|---|---|
v | Vector2 | The other |
t | number | 0 to 1 |
Returns
Vector2: the vector.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.