mouseTotalMotion
The difference between the final mouse position this frame and last frame.
Use mouseTotalMotion().nonZero() to detect if any mouse motion has occurred.
Only valid between Window.beginand Window.end.
Source
Implementation
pub fn mouseTotalMotion() Point.Physical {
const cw = currentWindow();
return .diff(cw.mouse_pt, cw.mouse_pt_prev);
}