Is your feature request related to a problem? Please describe.
Currently, it's not super elegant to swap two values / objects based on a boolean. The closest thing is the conditional operator, but that only outputs the "true" value, so you'd need at least two if you want to have a full "swap" of values.
Describe the solution you'd like
I have two ideas for this:
Add a new node that takes two inputs and a boolean and has two outputs, A and B, which swap based on the boolean
Add a second output to the existing conditional operator node, which always outputs the "other" value of the two input values
Personally since the functionality is so similar I'd think the second option might be the better one.
Describe alternatives you've considered
Using two conditional nodes. This isn't a big deal, it would just be a minor quality-of-life improvement.
Is your feature request related to a problem? Please describe.
Currently, it's not super elegant to swap two values / objects based on a boolean. The closest thing is the conditional operator, but that only outputs the "true" value, so you'd need at least two if you want to have a full "swap" of values.
Describe the solution you'd like
I have two ideas for this:
Personally since the functionality is so similar I'd think the second option might be the better one.
Describe alternatives you've considered
Using two conditional nodes. This isn't a big deal, it would just be a minor quality-of-life improvement.
Additional Context
No response
Requesters
No response