I am so happy for the quick reply but when I change the code to this it doesd not work
/** Camera boom positioning the camera behind the character /
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Camera, meta = (AllowPrivateAccess = “true”))
USpringArmComponent CameraBoom;
/** Follow camera /
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Camera, meta = (AllowPrivateAccess = “true”))
UCameraComponent FollowCamera;