# scaleFactor

> Scales the entire canvas, ensuring it fits the screen. It only applies when Canvas.renderMode is set to Screen Space.

## Definition

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

```csharp
public float scaleFactor { get; set; }
```
