Creating a controllable camera that can be rotated by mouse input

Hey there, I need to create a camera actor blueprint that can be controlled using a keypad or something like that. I have created the keypad, created the camera blueprint, and set everything up using an interface, but I need to make the camera rotate with the mouse. I have thought of some solutions but they’re not that efficient. Any ideas?

Okay, I solved the issue. It was actually pretty simple. I created a pawn blueprint class, added the movement required, and instead of doing set view target with blend like I used to do, I possessed the pawn instead.