---
title: "ScrollAxisRange"
description: "The scroll state of one axis if this node is scrollable."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class ScrollAxisRange(
    val value: () -> Float,
    val maxValue: () -> Float,
    val reverseScrolling: Boolean = false,
)
```


The scroll state of one axis if this node is scrollable.

#### Parameters

| | |
| --- | --- |
| value | current 0-based scroll position value (either in pixels, or lazy-item count) |
| maxValue | maximum bound for `value`, or `Float.POSITIVE_INFINITY` if still unknown |
| reverseScrolling | for horizontal scroll, when this is `true`, 0 `value` will mean right, when`false`, 0 `value` will mean left. For vertical scroll, when this is `true`, 0 `value` will mean bottom, when `false`, 0 `value` will mean top |




