# Auto

> Displays a scroll bar only if the content does not fit in the scroll view. Otherwise, hides the scroll bar.

## Definition

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

```csharp
Auto = 0
```
