We will add another condition by adding another "when green flag clicked" and "forever loop" and "if then" block. This time the condition will be touching the goal.
Change the condition like last time from "mouse-pointer" to "goal" When we hit the goal the level should go up by 1. We can use a "change _____ by 1" block to do this. Be careful to set it to the right variable.
Let's adjust our goal collision code to increase the difficulty if the level is less than 20. To do this we will add another "if then" block inside of the collision code for the goal. This is called a Nested If Statement. For our condition we can grab a " blank < 50" block from operators tab and adjust it to be "level" < 20.
Inside the new if statement, let's decrease the frequency by subtracting 0.05. We'll use a "change frequency by -0.05" block for that. This will make enemies appear faster.