Try it in your browserpreview Source

Vector2 UnitRoblox@lune/roblox✎

Roblox Types node.

Pending review

.Unit
  • 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

  • v:Vector2= Vector2.zerosplittable
    Splits into X, Y.

Outputs

  • result:Vector2splittable
    Splits into X, Y.

What it compiles to

luau
print(Vector2.zero.Unit)

Not reviewed yet