Simulate a buttonpress after some inactivity

How can I define 5 minutes of
INACTIVITY by the user?

In case you ever look for another solution to monitor player’s inactivity:

Pressing any key or moving the mouse will start the countdown, the BackToMenu CustomEvent will fire when the time is up. Moving the mouse or pressing any key will reset the timer and restart the countdown.