Function

cancel

Sends a cancel event to cancel the current gesture.

cancel

Deprecated

Replaced by TouchInjectionScope. Use performTouchInput instead of performGesture

Source set: Common
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.

Last updated: