Hello everyone so for the past few days, I’ve been struggling on touching button problems between two scenes, I believe this could be fixed by De/activating the mouse/touch on the next scene for a while and adding a timer on when will the mouse/touch be available for use again so when the player touch the button from the first scene, the button from the second scene will not be touched. But I do not know how
to be more clear: I have two scenes which both have some buttons as a “panel sprite”, those two buttons are perfectly aligned to each other from different scenes. When I click the button from the first scene, the button from the second scene will also be clicked without me touching the button from the second scene
Without seeing your events it’s hard to track down the exact cause.
If you are using mouse button pressed (or touched), I would consider using mouse button released condition instead.
wait wait i’ll try this one
these are the events on question 1
and these are the events on question 2
I think if you just add a timer if the player still with touch after it reaches the value the button will be pressed automatically. You will only be able to delay the touch, but not prevent it.
I did it:
First Scene (just the event to make the touch move to the next scene)
Second Scene (preventing the touch made in the first scene work in the second scene)
Your Boolean variable “Touch” need to starts “false” in that second scene.
Edit.: I just put the “delete button” action for testing here.