---
title: "SuspendingPointerInputModifierNode"
description: "Deprecated, use [SuspendingPointerInputModifierNode] instead."
type: "function"
---

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


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


> **Deprecated** This function is deprecated. Use 'SuspendingPointerInputModifierNode' with thePointerInputEventHandler instead.

```kotlin
fun SuspendingPointerInputModifierNode(
    pointerInputHandler: suspend PointerInputScope.() -> Unit
): SuspendingPointerInputModifierNode
```


Deprecated, use `SuspendingPointerInputModifierNode` instead.



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


```kotlin
fun SuspendingPointerInputModifierNode(
    pointerInputEventHandler: PointerInputEventHandler
): SuspendingPointerInputModifierNode
```


Supports suspending pointer event handling. This is used by `pointerInput`, so in most cases you
should just use `pointerInput` for suspending pointer input. Creating a
`SuspendingPointerInputModifierNode` should only be needed when you want to delegate to
suspending pointer input as part of the implementation of a complex `Modifier.Node`.



