Hi, I am doing a very simple event where pressing a button changes a variable. I’ve done it yesterday and it worked. So now I have added a new button to change another variable, and it’s not working.
If I switch the button press to be the old button, and keep the exact same event actions, then it works.
I made sure that the new button was on top Z, I moved it around, I even placed it where the old button was, but nothing works. This is how it looks like, very simple.
I can’t see any differences between this button and the old one other than graphics. They have the same behaviours and are in the same scene.
If the icon has changed, then you are using a different behaviour to last time.
I believe the icon in the condition is for multitouch button press, which is for touch. If you are using the mouse and clicking, I’d suggest you use the “Button state” behaviour and the click or the pressed condition instead.
That worked, thank you!
It’s a bit weird that the other button worked as it was also being used with the touch conditions, not the mouse. I did create the first button on a touch screen, but I am doing the work today on a desktop and the first button still worked with a mouse click.
Ah well, thanks for that!!