Vector2 MagnitudeRoblox@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
- v:Vector2=
Vector2.zerosplittableSplits into X, Y.
Outputs
- result:number
What it compiles to
luau
print(Vector2.zero.Magnitude)
Not reviewed yet