{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface ScrollScope
Scope used for suspending scroll blocks
Float
scrollBy(pixels: Float)
Attempts to scroll forward by pixels px.
pixels
fun scrollBy(pixels: Float): Float
the amount of the requested scroll that was consumed (that is, how far it scrolled)