We need variables to keep track of the level, how often enemies appear, and which path enemies take. Before we worry about using them we have to make them in the "Variables" tab on Scratch. Our three variables will be named: Level, Path, and Frequency
Add a "forever loop" from Control to run the first collision detection. The place an "if then" block inside and use the "touching mouse pointer" block as the condition.
Let's adjust our condition to select the enemy! Switch the "touching mouse pointer" to "touching Enemy". Finally add the correct motion code to send our character back to the beginning. We want to be careful to use the same "go to x: 0 y:-150" block from earlier.