Press space to start recording your cursors position, you can also drag around objects while your recording. When you think your doen, press E.