---
title: limitsScrolls
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/scrolltargetbehaviorproperties/limitsscrolls
---

# limitsScrolls

Whether this scroll target behavior should limit the distance a scroll view scrolls by default. When enabled, the scroll view prefers to scroll a shorter distance. By default, this is not enabled.

## Declaration

```swift
var limitsScrolls: Bool { get set }
```
