cancel

Function

Common

Deprecated Replaced by TouchInjectionScope. Use performTouchInput instead of performGesture

fun GestureScope.cancel() = delegateScope.touch { cancel() }

Sends a cancel event to cancel the current gesture. The cancel event contains the current position of all active pointers.