Is there any away to make an effect like this with cinemachine 2D?

I use confiners to delimit the area where I can go, but I don’t know how can I make this effect of “going to other room” with cinemachine 2D. Is there any away to make this using confiners?

5147462--509687--20191106_211733.gif

The easiest way, is switch to another camera, also you can move camera.
Or move all map, which is least convenient.

Think I can’t move the camera because of the confiner, so my only alternative is to switch to another one

Sure you can

//invalidate the current camera smoothing and make the cinemachine snap to the new position directly
cmConfiner.VirtualCamera.PreviousStateIsValid = false;
//assign the exit's position to the player object transform
player.transform.position = exit.position;
//assign the new bounding shapes for the cinemachine camera
cmConfiner.m_BoundingShape2D = cameraBorder;
//invalidate the path cache stop the cinemachine from stucking over borders when assigning a new camera border
cmConfiner.InvalidatePathCache();