Connect a LEGO WeDo 2.0 motor. Click the green flag. Press the up and down arrows to move up. Press space bar to stop the motor.
Thanks to CAPTTUR for the idea of a WeDo airplane with a propellor.