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