> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/classes/uiscale.md).

# UIScale

UIScale : `UIComponent`

## Overview

A UI component that scales its parent UI element and all of its descendant UI elements up or down by a specified factor.

UIScale does not change authored values such as Position, Size, padding, corner radius, or stroke; instead, it applies the scale when displaying the result on screen after the layout has been calculated. If UIScales are nested, their scale factors are multiplied to determine the final scale, and this scale is also reflected in AbsolutePosition, AbsoluteSize, and input hit testing.

UIScale is used by placing it as a child of the UI element to be scaled. If a UI element has multiple UIScales, only the first UIScale is applied.

## Properties

### Scale

`number`

Specifies the scale factor applied to the parent UI element and its descendant UI elements.

A value of 1 displays them at their original size, values greater than 1 enlarge them, and values less than 1 shrink them. Negative values are treated as 0. The default is 1.

#### Code Samples

## Methods

## Events
