We use cookies on this site to enhance your user experience
Collapse Sidebar



UDim.new ( number Scale, number Offset )

Creates a new UDim from components


number UDim.Scale

The scale component of the UDim. The value this represents is scaled relative to the axis that this UDim is representing in a UDim2.

int UDim.Offset

The pixel unit component of the UDim.

Math Operations

UDim UDim + UDim

Returns the product of adding the two UDim values together.

UDim UDim - UDim

Returns the product of subtracting the two UDim values from each other.