# unityBackgroundScaleMode

> Background image scaling in the element's box.

## Definition

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

> **Warning:**
>
> **Deprecated.** unityBackgroundScaleMode is deprecated. Use background-\* properties instead.

```csharp
StyleEnum<ScaleMode> unityBackgroundScaleMode { get; }
```
