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


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


<h2 id="hasscrolltokeyaction">hasScrollToKeyAction</h2>

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


```kotlin
fun hasScrollToKeyAction() =
    hasKey(SemanticsActions.ScrollToIndex).and(hasKey(SemanticsProperties.IndexForKey))
```


Returns whether the node defines the ability to scroll to an item identified by a key, such as
`LazyColumn` or
`LazyRow`.