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


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

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



```kotlin
interface Scroll2DScope
```


Scope used for suspending scroll blocks


## Functions



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

```kotlin
fun scrollBy(delta: Offset): Offset
```


Attempts to scroll forward by `delta` px.

#### Returns

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