Click record button, move mouse for as long as you want, then click play button to show mouse movement.
Based off of a preloaded project in Scratch 1.4