Here we have a metal bar or track connected to the common terminal along with two traveler metal bars, each connected to their own separate traveler terminals.
Now we add a third terminal up on top there, and depending on the voltage between the left and right terminal and that third voltage, you can change that current.
When we flip the toggle switch, one traveler is pushed away from the common by the bottom of the toggle switch, while the other traveler is in contact with the common.