reset

fun reset()(source)

Resets the adapter state. Call this when the mouse leaves the canvas or when you want to reset velocity/acceleration calculations.