up
Function
Common
Deprecated Replaced by TouchInjectionScope. Use
performTouchInput
instead ofperformGesture
fun GestureScope.up(pointerId: Int = 0) = delegateScope.touch { up(pointerId) }
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 |