I'm designing a circuit that relies on Boolean logic to activate certain animations. I drew a light switch and a small circuit (series of line segments). When the switch is flipped on (Boolean value = 1) it will move (animate) points on the lines (circuit); when the switch is off (Boolean value = 0) the movements will stop.
Is there some way to activate actions using parameters or number values (ie: 1 and 0) rather than buttons? Or is there a way to activate an action button using a parameter or number value?