If you dont move or press anything, go to main menu. How to do it?

Hello!! :smiley:

I would like to know how to make a blueprint that if i don’t move or press anything, after a few of seconds this take me to the main menu? plz, i need help with this! :c Btw, im using only xbox 360 controller.

ty! :slight_smile:

use input event AnyKey, (uncheck consume input), and SetTimerByFunctionName. as long as you keep pressing keys, the timer will keep getting reset. if you stop pressing keys for 5 seconds, it will call a function, which can open a level that contains your main menu.

Do this in your player controller:

82483-timeover.png

Thank you very much! :smiley:

You can use the node “Any key” which is called after any key is pressed. Then use a delay node connected to the release output. This method could cause trouble because the delay is always called when any button is released. Maybe you find a way around that. With the controller it works also, not only with the keyboard.