How to reset the game to the main level after some minutes that no one is touching the screen

Add a float variable called “Timer” or something. Connect it all up like the picture. Then Set the Timer variable to 0 any time there is any user input. That’s just one way you can do it.