I'm having a problem

I’m having a problem with my program. When I go in level 2, I can’t stop the forever container with the if block. It just keeps teleporting me to start. Please help!

1 Like

Do you think you could post the link for the game? Being able to see the game’s code can help people figure out the problem.

Sorry i forgot: https://arcade.makecode.com/S85576-55918-62687-68672

You just have to change the level variable by 1 when the next level starts. Otherwise, the variable will always be equal to 2, so the forever function will keep repeating the code.

1 Like

Thanks. So that means level 3’s variable will be 4?

1 Like

I guess so.