Is there a node for swapping values or storing variables temporarily?

Exactly what @Auran131 said.
Use a similar macro:

If it works for you please mark Auran’s post as an answer. (not this one)

2 Likes