I have made a slider game where you have to stop a slider over the max button

But i'm having trouble with the conditional branch that decides if you stopped it in the correct place. If you stop it correctly the pull slider should move faster but if you don't you hear a buzzer and take 20 damage. Instead my event is doing both these things at the same time. The second else branch is blank as I don't want it to do anything if you are not pressing the down key. (the conditional variables did originally check the y coordinates as well but as it only ever moves side ways so i removed them, but the problem still existed when they were there.) Each event page is the same just moving the slider faster and changing its and the max events position.

Thanks to anyone that came help me solve it, it is probably something really simply I've missed.

But i'm having trouble with the conditional branch that decides if you stopped it in the correct place. If you stop it correctly the pull slider should move faster but if you don't you hear a buzzer and take 20 damage. Instead my event is doing both these things at the same time. The second else branch is blank as I don't want it to do anything if you are not pressing the down key. (the conditional variables did originally check the y coordinates as well but as it only ever moves side ways so i removed them, but the problem still existed when they were there.) Each event page is the same just moving the slider faster and changing its and the max events position.

Thanks to anyone that came help me solve it, it is probably something really simply I've missed.







