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

cancel

Sends a cancel event to cancel the current gesture.

cancel

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

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