Switch node and hold that input?

Hello,

I just wanted to ask if it was possible in this scenario with the Switch node.

When it is activated, it goes to input 2. How do I make it in such a way that when the switch node is triggered… it remains in input 2 and does not go back to input 1? I attached the below image for reference.

have a look at FlipFlop (Animation) and Toggle (Animation).

got it! I used the togedge and flipflop and it works now! thank you!