Multiplexer

The center input selects which side input controls the output.