# screenMatchMode

> Specifies how to scale the panel area when the aspect ratio of the current resolution does not match the reference resolution.

## Definition

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

```csharp
public PanelScreenMatchMode screenMatchMode { get; set; }
```
