---
title: "slint::language::ScrollBehavior Enum"
description: "This enum describes how to scroll to a specific position."
---
```cpp
enum class ScrollBehavior
```

| Value | Description |
| --- | --- |
| `Instant` | Instant jump to the scroll position. |
| `Smooth` | Smooth scroll animation to the scroll position. |

This enum describes how to scroll to a specific position.