Vector2 LerpRoblox@lune/roblox✎
Roblox Types node.
Pending review
- Roblox's, and Lune's too — a Lune graph needs
@lune/robloxrequired for it - pure — no execution pins, wire it anywhere
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- A:Vector2=
Vector2.zerosplittableSplits into X, Y. - B:Vector2=
Vector2.zerosplittableSplits into X, Y. - Alpha:number=
0.5
Outputs
- result:Vector2splittableSplits into X, Y.
What it compiles to
luau
print(Vector2.zero:Lerp(Vector2.zero, 0.5))
Not reviewed yet