I want to make a key in the game that, when first pressed, will switch the player’s character to the second mode, and when the second click, switch back to the first mode, but I’m not able to. If you do it like in the screenshot, then as soon as F becomes equal to two (initially F = 0), then it immediately goes into the second condition, and no changes occur. If you swap sub-events, then the condition F = 0 is triggered only once, and after both events stop working.