Cinema 4D Cinema 4D Prime XPresso XPresso Nodes General
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D

FlipFlop Operator

Basic Parameter

FlipFlop Operator

This node is a Boolean switch. Three input ports are available. If the On input port is enabled, the node outputs the value 1. If the Off input port is enabled, the node outputs the value 0 (even if the On port is still enabled). The same applies in reverse: if the Off port is enabled first followed by the On port, the result is 1.

If the Switch port is enabled, the result is reversed. A value of 1 becomes a value of 0, and vice versa. If Switch is enabled and then the value of one of the other ports changes, the result is once again affected — the result always depends on the port that was last enabled. For example, if the On port was the last port enabled, the result will always be 1; if the last port enabled was the Off port, the result will always be 0. Note that disabling a port has no influence on the result. It is only the enabling of these ports that causes the node to change its output.