---
title: "ScrollBehavior"
---
import XRef from "../../../../../components/XRef.astro";
import Signature from "../../../../../components/Signature.astro";

```python
from slint.language import ScrollBehavior
```

This enum describes how to scroll to a specific position

## Values

- **<span id="instant">`instant`</span>** — Instant jump to the scroll position
- **<span id="smooth">`smooth`</span>** — Smooth scroll animation to the scroll position