How to input an interaction button to line trace object

Okay but how can I change the camera to a camera in the level blueprint when a button is pressed? and then have it return to the player camera when button is pressed again