How do I prevent players from advancing without clicking the start button?

I want to ensure that players must click the start button before they can attack the enemy sprite and advance to the next level. Currently, players can bypass clicking the start button entirely and still progress to the next level.

Players should be required to click the start button first. After clicking start, they should be able to attack the enemy sprite and advance to the next level.

Players are able to attack the enemy sprite and advance to the next level without ever clicking the start button. This bypasses the intended game flow and start sequence.

e.g. with a bool scene variable.
If the variable condition in the attack event is false, attacks are not executed. The button sets it to true.

I tried adding that recently but it didn’t work :frowning:

The condition should check for true.

1 Like