How to make actions after two buttons are pressed

Hello,
I would like to be able to press F for example and then to be able to press 1/2/3/4/5 and depending on the second button pressed build different structures. The F button is set to send an interface message on Triggered, but now I’m struggling to figure how to do the logic after the Event “Build” Interface. Later I would like to implement this into a Radial menu, when I press F and hold, the menu would come up and i would choose one option (one of the integer indexes)… But right now I’m strggling just with the first approach.

Thanks anyone for an advice in advance.

Simplest way to do it would be have the input event for F or whatever set some boolean var to true, then on 1/2/3//etc… events, have a branch with the bool as the condition and set the bool back to false after it does its thing. If multiple initial keys are involved, you could use an enumerator as a variable, and have F/R/X/whatevs set the var to a matching enum value, then use a Switch on Enumerator node in the number key events to control the flow.

For a radial menu though, it shouldn’t even be that complicated, as you can simply make F create the widget, which would in turn only need to respond to 1/2/3/etc…