How can i cast a public camera actor variable to other blueprint?

i have been trying to make a survival horror game with static cameras and third person camera and i managed to activate the static ones when the player goes into a trigger on scene, “cam” is the public camera actor variable to use this same blueprint for all of them i also can activate the third person camera with right click but the problem is that when it is released, how can i make the cast work to make it go back to the static camera of the trigger that the player is into?

This is the blueprint where it goes to static cameras

this is my third person character blueprint

To cast successfully you need a valid reference. You can feed the cam reference into your player after an overlap to use for the cast.

Check out my other answer for more info:

Omg , I never thought I could do it,but I finally found , thank you for leading me.

how i solved: