Button to change scene not working

This is my code
MainMenu buttons
The level exists

I have tried everything

Your event is a sub event of one that has ‘at the beginning of scene’ as a condition. This means the subevents are only processed for the very first frame.

It is near impossible for someone to be fast enough to click your button within the first frame of the scene. So the subevent will never trigger.

You should probably have it as its own event.

2 Likes

Hey, thank you. However, why the music have now a delay? If i put the buttons events at the same levels that “at beginning of the scene”, the music is not playing at the start of the app. By the way, the exit button is still not working. Is not the correct function to close the game?

Hmmm… the only thing that would affect the mjsic is if it was moved. The music wasn’t in the subevents and should have remained as part of the parent event.

Quit the program only works if it is a desktop or mobile published app, so if this is a web preview or mobile preview it won’t work.

You would have to show an updated screenshot of your current events in order for me (or anyone) to help further.