Skip to content

DragMouseParams.steps?

DragMouseParams › steps?

Type: number

How many held-button moves to send between DragMouseParams.from and DragMouseParams.to, evenly spaced along the straight line, the last one landing on to. More steps make a slower, smoother drag; a handler that tracks the pointer's path (a canvas edge, a drag threshold) needs more than one.