---
title: bounce
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionlayoutsectionorthogonalscrollingproperties/bounce-swift.property
---

# bounce

A value that specifies whether the orthogonal scrolling section bounces past the edge of content and back again.

## Declaration

```swift
var bounce: UICollectionLayoutSectionOrthogonalScrollingProperties.Bounce { get set }
```

## Discussion

Discussion Set this value to specify whether the section stops scrolling immediately upon encountering the content boundary, or if it continues scrolling past the boundary and then bounces back.

## See Also

### Specifying the bounce behavior

- [UICollectionLayoutSectionOrthogonalScrollingProperties.Bounce](uikit/uicollectionlayoutsectionorthogonalscrollingproperties/bounce-swift.enum.md)
