UDim
One axis of a size or position: a scale and an offset.
The scale is a fraction of the parent; the offset is in pixels.
Constructors
Up and coming: the native runtime gives these. Today a program reads a UDim from an attribute, and shot check refuses UDim.new in a System project.
| Name | Arguments | Returns | Description |
|---|---|---|---|
| UDim.new | (scale: number?, offset: number?) | UDim |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Offset | number | ||
| Scale | number |
