problem with this

hello everyone sorry for the translator
I would like to know how I disconnect a previous switch when pressing another switch

You can use the “On Disengage” action.

thanks very much for you answer