Try it in your browserpreview Source

Vector2 DotRoblox@lune/roblox✎

Roblox Types node.

Pending review

Vector2 DotVector2.zeroAVector2.zeroB
  • 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:Vector2= Vector2.zerosplittable
    Splits into X, Y.
  • B:Vector2= Vector2.zerosplittable
    Splits into X, Y.

Outputs

  • result:number

What it compiles to

luau
print(Vector2.zero:Dot(Vector2.zero))

Not reviewed yet