---
title: isScrollEnabled
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/isscrollenabled
---

# isScrollEnabled

A Boolean value that indicates whether any scroll views associated with this environment allow scrolling to occur.

## Declaration

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

## Discussion

Discussion The default value is true. Use the scrollDisabled(_:) modifier to configure this property.

## See Also

### Disabling scrolling

- [scrollDisabled(_:)](swiftui/view/scrolldisabled(_:).md)
