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


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

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



```kotlin
interface ScrollScope
```


Scope used for suspending scroll blocks


## Functions



<h2 id="scrollby-pixels">scrollBy</h2>

```kotlin
fun scrollBy(pixels: Float): Float
```


Attempts to scroll forward by `pixels` px.

#### Returns

| | |
| --- | --- |
|  | the amount of the requested scroll that was consumed (that is, how far it scrolled) |