How to setup a toggle key

I have setup a level blueprint so when I press and hold the ‘F’ key the ceiling starts to descend, and when I release the ‘F’ the ceiling starts to rise again. That works fine. But now I want to replace that with a “toggle” function so when I hit the ‘F’ key once the ceiling will descend and when I hit it again it will rise.

Could someone suggest the best way for me to do this?

You are looking for the Flip Flop node

Will toggle between 2 options

If you require more than 2 options there is the multi gate that will do n options

1 Like

I don’t know you but I love you! This is exactly what I have been looking for. Thank you for the speedy reply…

Agreed! You rule, man! I was trying to figure out how to scroll through options and didn’t know yet! Thank you thank you!!