You can create a toggle in the function node, this topic may help. Convert one value into two different ones