---
title: contentOffset
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uifocusitemscrollablecontainer/contentoffset
---

# contentOffset

The current content offset for the scrollable container.

## Declaration

```swift
var contentOffset: CGPoint { get set }
```

## Discussion

Discussion If the scrollable container contains bounds, then bounds.origin must be equal to the content offset. The system repeatedly sets this property to simulate animated scrolling.

## See Also

### Retrieving the content size

- [contentSize](uikit/uifocusitemscrollablecontainer/contentsize.md)
- [visibleSize](uikit/uifocusitemscrollablecontainer/visiblesize.md)
