Flip Flop logic inside a function

Trying to implement ‘flip flop’ logic inside a Function. Apparently the FlipFlop node does not work because any Function resets itself after being called.
What is the best option then?

u can r create the same functionality with booleans.

1 Like

Just answering my own question in case anyone might benefit. I think the best approach is to simply pass a Boolean created via FlipFlop to the function and use a Branch node.

Function resets itself after being called

Flip goes out of scope, aye.

What is the best option then?