Press space and move your mouse around. When you're done moving your mouse, press the down arrow. Now click the green flag. The mouse in the project will do the same movements that you did with your mouse. This is only a proof of concept. You can use the code in this project for your own project.