[Solved] "Menu" button does not work properly

Hello guys, I need a little help.

I’m working on this game that I want to publish on Google Play; it works just fine on PC, but it has some problems when I test it on my phone.

It has multiple levels that are locked; you play the first level, then after it finished, the second level unlocks and so on… this is the level selection menu:

After I click on that first level it goes to it:

in the level as you can see, I have a “pause” button. When I press it, a layer activates which acts as a menu: from there I can select “Menu”, “Restart” and “Resume”.

Now, when I click on “Menu” button, it should go on the first menu from where I select the levels

… problem is it only goes in that menu for like a second, but it comes back already in the same level again here https://i.imgur.com/xNLa3IT.png

So this is the problem: when I click the "Menu’’ button, instead of going in the menu where I can select the levels, it goes there for only a second then come back by itself in the level I just played.

These are the Menu events:

These are the Level 1 events:

  1. https://i.imgur.com/T3wDGYz.png

  2. https://i.imgur.com/xZht9nF.png

  3. https://i.imgur.com/UZprCtY.png

  4. https://i.imgur.com/vnSiNZt.png

  5. https://i.imgur.com/DnXdn9i.png

  6. https://i.imgur.com/6GQhEof.png

  7. https://i.imgur.com/LtwtW75.png

  8. https://i.imgur.com/BRPhJyf.png

Also, sometimes when I launch the game on my phone does not enter fullscreen, a black bar remains at the bottom of the screen.

Thank you!

Maybe my brain is fried but I can’t see any events which refer to the Menu buttons? If possible, it’s better to post all images into the thread (like you did with the first 4 images) so they are easy to see at a glance. You could use multiple posts if you have some kind of image limitation per post. I don’t think you need to post code for Level 1 though at the moment because sounds like the problem is in the previous Menu scene

Hey @Gorguruga.

I posted a video on youtube, maybe it’s easier to see.
Please select 1080p for a better quality of the video.
Thank you!

Try adding the condition “De/activate moving the mouse cursor with touches: No” to your first event in the menu scene.


@jack It works! Thank you!:hearts:
I will test it these days on other phones to see how it behaves as well.
Thank you again!

I have the same problem. But in my case, I can’t solve it just in “Disable moving the mouse cursor with touches”

What other possible solution?