Function

cancel

Sends a cancel event to cancel the current gesture.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
Deprecated Replaced by TouchInjectionScope. Use performTouchInput instead of performGesture

cancel

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.