Access camera values from UCameraComponent

Hi all, I have a blueprint with a camera component inside. I access it in c++ by iterating through the scene and finding UCameraComponents that match the specific name. So I can ‘get’ it in blueprints.

BUT, as it is a camera COMPONENT, I can’t seem to set it as a view target, or attach it to another mesh with AttachRootComponentTo. Both things that i need to do.

Why can i not cast a camera component to a camera actor successfully? And is there a way around this?

many thanks.

found it. The ‘get owner’ BP node with give you the owning blueprint.