It doesn't vibrate for me. In the capx I subtracted 1 from the repeat loop to stop jitter when the mouse isn't moving.
repeat distance(cursor.x, cursor.y, mouse.x, mouse.y)-1 times
Maybe that can help? Maybe use 2 instead?
Where is this stuff supposed to be put in?? I too want to know how to move through walls of the same game. Thanks