Hello!! ![]()
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! ![]()
Hello!! ![]()
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! ![]()
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:

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.
Thank you very much! ![]()
anykey plus a retriggerable delay is the pattern, every press restarts the timer and only real idleness opens the menu level. put it in the player controller and uncheck consume input so the game still gets the press. gamepad buttons count as anykey too so your xbox controller is covered.
you can also try Kiosk Lockdown Toolkit, an idle detection plugin for Unreal Engine that fires On Idle Started and On Idle Ended on a timeout you set: Kiosk Lockdown Toolkit — Block Alt+Tab, Win Key & Taskbar for Kiosks | Fab