canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

Vector3 LerpRoblox@lune/roblox✎

Roblox Types node.

Pending review

Vector3 LerpVector3.zeroAVector3.zeroB0.5Alpha
  • Roblox's, and Lune's too — a Lune graph needs @lune/roblox required 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:Vector3= Vector3.zerosplittable
    Splits into X, Y, Z.
  • B:Vector3= Vector3.zerosplittable
    Splits into X, Y, Z.
  • Alpha:number= 0.5

Outputs

  • result:Vector3splittable
    Splits into X, Y, Z.

What it compiles to

luau
print(Vector3.zero:Lerp(Vector3.zero, 0.5))

Not reviewed yet