---
title: "centerItemScrollOffset"
description: "The offset of the item closest to the viewport center."
type: "property"
lastmod: "2026-08-27"
---
## API Reference

> Source set: Android

```kotlin
public val centerItemScrollOffset: Int
```

The offset of the item closest to the viewport center. Depending on the
[ScalingLazyListAnchorType](/jetpack-compose/androidx.wear.compose/compose-foundation/classes/ScalingLazyListAnchorType/api) of the [ScalingLazyColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/components/ScalingLazyColumn/api) the offset will be relative to either
the items Edge or Center.

A positive value indicates that the center item's anchor point is above the viewport
center-line, a negative value indicates that the center item anchor point is below the
viewport center-line.
