# size

> The width and height of the rectangle.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public Vector2 size { readonly get; set; }
```

### Remarks

Size is measured from the [Rect.position](/engine/6000.5/script-reference/unityengine/rect/position.md).
