Adjust the -10 in the set oldmouse x and set oldmousey blocks to adjust the delay, the more the more delayed (Every 10 is 1 second of delay)
Press space to show/hide the variables and all.