UDim

Show Deprecated

The UDim data type represents a one-dimensional value with two components, a relative scale and an absolute offset in pixels.

Summary

Constructors

Properties

Math Operations

Constructors

new

Parameters

Scale: number
Offset: number

Properties

Scale

The relative scale component of the UDim.

Offset

The absolute offset component of the UDim in pixels.

Math Operations

UDim + UDim : UDim

UDim - UDim : UDim