UDimRoblox@lune/roblox✎
Scale is a fraction of the parent; offset is pixels. A UDim is one axis of a UDim2.
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
- Scale:number=
0 - Offset:number=
0
Outputs
- result:UDimsplittableSplits into Scale, Offset.
What it compiles to
luau
print(UDim.new(0, 0))
Not reviewed yet