---
title: bouncesHorizontally
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscrollview/bounceshorizontally
---

# bouncesHorizontally

A Boolean value that determines whether the scroll view bounces when it reaches the ends of its horizontal axis.

## Declaration

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

## See Also

### Configuring the scroll view

- [isScrollEnabled](uikit/uiscrollview/isscrollenabled.md)
- [isDirectionalLockEnabled](uikit/uiscrollview/isdirectionallockenabled.md)
- [isPagingEnabled](uikit/uiscrollview/ispagingenabled.md)
- [scrollsToTop](uikit/uiscrollview/scrollstotop.md)
- [bounces](uikit/uiscrollview/bounces.md)
- [bouncesVertically](uikit/uiscrollview/bouncesvertically.md)
- [alwaysBounceVertical](uikit/uiscrollview/alwaysbouncevertical.md)
- [alwaysBounceHorizontal](uikit/uiscrollview/alwaysbouncehorizontal.md)
