🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

up

Sends an up event for the pointer with the given pointerId, or the default pointer if pointerId is omitted, on the associated node.

up

Source set: Common
@Deprecated(
    message = "Replaced by TouchInjectionScope. Use `performTouchInput` instead of `performGesture`"
)
public fun GestureScope.up(pointerId: Int = 0): Unit

Sends an up event for the pointer with the given pointerId, or the default pointer if pointerId is omitted, on the associated node. If any pointers have been moved with movePointerTo or movePointerBy and no move event has been sent yet, a move event will be sent right before the up event.

Parameters

pointerId The id of the pointer to lift up, as supplied in down