Need help with increasing values only if you didn't press the other button


Use this template to make awesome bug reports:

Your username:strongerthanyou

What kind of device are you using?:ipad mini

1 sentence description of the problem (I was doing _________, and then __________ happened):I was coding a button when it was pressed it would check that the other button wasn't there

Steps to make the problem happen:
1.code a button that if you pressed the other button first you wouldn't win

I expected this to happen:

But instead this happened:

Here’s a sweet screenshot:


What is the value of Combination before you tap the button? 0?


Yes. If combination = 2 then it is supposed to win the game.


It won't ever become 2 because it won't increase when it's at 1

1 Like

Why? I have another button


Oh you need to tap another button to get to 2? Okay sorry. Do you have a screenshot of that?


I will soon
Off to coding!


That was quick


Was it fixed? Did you solve the problem?


Yes! Thank you very much!


It's out!