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 in blueprints, or attach it to another mesh with AttachRootComponentTo in c++. 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?

(I have also tried searching for the entire blueprint. Again, i can ‘get’ it, but can’t seem to use it for anything)

many thanks.

aha! the ‘get owner’ node is what I needed.