How to get keypress in UI only mode?

IMHO the best and light and elegant solution is to check “Execute When Paused” checkbox under Details of Input Key Event Node. Works perfect!