I need help with this Blueprint Logic for my CAM

I am working on a project in Unreal Engine and am encountering a challenge with the camera and its movement. I need help to improve a specific mechanic:

I have three cubes named CUBE1, CUBE2, and CUBE3. Above these cubes, we have the positions “LOCATION 1”, “LOCATION 2”, and “LOCATION 3”. Below, we have “LOCATION 4,” “LOCATION 5,” and “LOCATION 6,” respectively. These are reference points for the camera’s transport.

Here’s what I want:

The camera should be able to switch focus between any of the cubes at any given moment. For instance, I may want to go from CUBE3 to CUBE1 or from CUBE2 to CUBE3.

When switching from one cube to another, the camera needs to move in a specific pattern to ensure continuity. Let’s say the camera is focused on CUBE1, and I want to switch to CUBE3. The camera would first move upwards to “LOCATION 1” (above CUBE1), then “teleport” to “LOCATION 6” (below CUBE3), and finally ascend to focus on CUBE3.

The goal is that, regardless of which cube I’m focusing on, when I want to change cubes, the camera will move upwards towards the “LOCATION” above the current cube, teleport to the “LOCATION” below the next desired cube, and then ascend to focus on that new cube.

The reverse can also happen; the camera can leave from below one cube and arrive from above another, the idea is kind of like making an elevator but utilizing the camera’s teleportation.

Is this on a rail, or just in a blueprint?