How to Reference Camera Actor in a Blueprint

I have a user interface blueprint that I am creating to allow the player to open it up by hovering over a button to bring up a list of buttons, and each button connects to a camera actor. However, I cannot seem to get the camera as a variable in the UI blueprint. Only the level blueprint.

Should I even attempt to control the cameras with a separate blueprint or is it better to use the level blueprint and work from there? I just need an interface to control them but I can’t get the reference to the camera actors where I want them.

Getting the cameras in the level will only work for those specific cameras and if you change the level your variable is gone.

You can get your cameras (and change them) in your UI blueprint like this:

Note that I’m getting all cameras when the UI is constructed which means the cameras have to already be there and I don’t update it at any point sou you might want to change that depending on weather your cameras will be added or removed.

I see, now since I want to be able to click a button that activates each camera, I am assuming I need a variable reference for each one? I want to switch them with widget buttons and be able to exit them. The cameras will already be spawned in and will never be removed.