---
title: "awaitFirstDown"
description: ""
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


> **Deprecated** Maintained for binary compatibility. Use version with PointerEventPass instead.

```kotlin
suspend fun AwaitPointerEventScope.awaitFirstDown(
    requireUnconsumed: Boolean = true
): PointerInputChange
```


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


```kotlin
suspend fun AwaitPointerEventScope.awaitFirstDown(
    requireUnconsumed: Boolean = true,
    pass: PointerEventPass = PointerEventPass.Main,
): PointerInputChange
```


Reads events until the first down is received in the given `pass`. If `requireUnconsumed` is
`true` and the first down is already consumed in the pass, that gesture is ignored.



