if you have a custom camera BP, i would have just added a capture component to the camera BP as a child component and toggled camera and capture component as required
if you have a custom camera BP, i would have just added a capture component to the camera BP as a child component and toggled camera and capture component as required