On Timer node

Hello. I would like to rotate the cube on pressing a key using the boolean value “repeat” of the logical node “On Timer”, but it does not work.
If I set the boolean value “On Init” true, starting by turning the cube, and then press the key to stop it, it works. Can someone help me?

The repeat checkbox is just that, a checkbox for it to repeat or not. You would add the logic with a gate node (or other logic node ) after the on timer.