the hidden layer is clickable what exactly do I have to change so that it is no longer clickable as long as it is not visible there isn’t much choice when it comes to layers or am I wrong?
Every event is processed every frame, in order, from the top down. So you’re clicking and it’s triggering the first action, which is showing the other layer, which is then triggering the second action.
You’re going to need something else, such as a toggle variable, that doesn’t change back until you release the mouse button.
Could you please send me a small example so I know what it should look like
I don’t have time to mock up an example, but basically you’d have 1 extra event at the top of your event sheet.
Touch or left mouse button is down (inverted) | Toggle Variable MouseDown to False
Then in both your other two events you have right now, you’d add the condition “Variable MouseDown is False”, and you’d add the action “Toggle Variable MouseDown to True”. Make sure you make them the last action in each event.
This way, the event can only trigger if MouseDown is false, and MouseDown is only false if mouse has been released. Then it immediately sets to true once you activate either of the two events.
Obviously, you’ll need to pre-define the MouseDown boolean variable in your scene (or preferably, global) variables.