# Scale

> Represents the scale applied as element transformations. The center point that doesn't move when the scaling is applied is the TransformOrigin.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Implements:** [IEquatable\<Scale>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct Scale : IEquatable<Scale>
```

## Constructors

| Constructor                                                                                                         | Description                                                                                   |
| ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [Scale(UnityEngine.Vector2)](/engine/6000.5/script-reference/unityengine/uielements/scale/ctor.md#scale\(vector2\)) | Creates a new Scale from a [Vector2](/engine/6000.5/script-reference/unityengine/vector2.md). |
| [Scale(UnityEngine.Vector3)](/engine/6000.5/script-reference/unityengine/uielements/scale/ctor.md#scale\(vector3\)) | Creates a new Scale from a [Vector3](/engine/6000.5/script-reference/unityengine/vector3.md). |

## Static Methods

| Method                                                                       | Description                                           |
| ---------------------------------------------------------------------------- | ----------------------------------------------------- |
| [None](/engine/6000.5/script-reference/unityengine/uielements/scale/none.md) | Returns a value of Scale without any scaling applied. |
