This is made possible by a tool swiveling device located behind the beam, which changes tools without you having to interrupt the process.
Using the sketch as a basis, you can see how the tool swiveling device functions.