Vector2 AxisRoblox@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
- Axis:string=
"yAxis"literalfrom a listOne of xAxis, yAxis — or anything else, typed in.
Outputs
- result:Vector2splittableSplits into X, Y.
What it compiles to
luau
print(Vector2.yAxis)
Warning
Axis is typed in directly and pasted into the generated source, so it cannot be wired from a value. The editor refuses the connection rather than letting it fail at compile time.
Not reviewed yet