Just watch. And use the slider variable called "speed" to control the speed.
Thanks to scratch team for original. Hacked it so you don't need to mov mouse.