# pixelRect

> Get the render rect for the Canvas.

## Definition

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

```csharp
public Rect pixelRect { get; }
```

### Remarks

If in overlay mode this will be the screen dimensions. If in world mode this will be the camera screen viewport rect.
