[Solved] How to stop execution of condition check?

How do I…

how to stop execution of condition check? it is necessary that after the first condition is met, the second (and subsequent) conditions are no longer checked.

What is the expected result

after installing variably “windowed” to “true”, it stopped. Game goes full screen

What is the actual result

the variable becomes true, then it is checked again, and the variable becomes false, the game remains in non-fullscreen mode

Related screenshots

1 Like

Hello, don’t check the boolean. Check the results.

Based on the results, set boolean true or false.

Based on the boolean, change results.

1 Like

All events are evaluated every frame, from top to bottom.

You either need implement a boolean variable or any other variable that can be used as a toggle switch.

Some examples of the concept is here. How to toggle states using Variables - GDevelop documentation