Sure, just run a small function that adjusts the mouse_spot value dependent on in which direction the mouse moves.