How to toggle 2 scalar values?

controlled…
but i’m new in all this… i don’t know how to make that happen… shod i try google booleans ?

and TNX !