Try it in your browserpreview Source

Vector3 MaxRoblox@lune/roblox✎

The larger of each component.

Pending review

Vector3 MaxVector3.zeroAVector3.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:Vector3= Vector3.zerosplittable
    Splits into X, Y, Z.
  • B:Vector3= Vector3.zerosplittable
    Splits into X, Y, Z.

Outputs

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

What it compiles to

luau
print(Vector3.zero:Max(Vector3.zero))

Not reviewed yet