Hello everyone, I’m trying to get two values out of a logic chop (currently set to “last two inputs”).
The logic chop works perfectly fine for what I’m trying to do, but I’m getting stuck as I’m having troubles extracting those two values properly, as sometimes the last two inputs are the same (if the button is pressed twice).
Here’s what I’m trying to achieve:
I have 4 buttons which set the project’s colors (one for each of the following: RGBW)
If pressing the same button twice, I’d like both my nulls (Color1 & Color2) to be set to the same color.
If I press Red first and then Blue, I’d want each of them to have one of the colors (I don’t mind the order).
I also looked into making a copy of the first null’s value, so I could pass it on to the second null when the first input changes, but not too sure how to approach that with a node-only approach.
Thanks! Anthony