Moving camera w/ mouse & restriction on Top Down Twin Shooter

So I’m working on this Top Down Twin Shooter. I got all of the controls working and the player faces and shoots where the mouse is. Now I’m trying to figure out how to get the mouse to sway a little farther away from the character when looking in a further direction off screen but keep the character within the camera. Kind of like Hotline Miami and other top down shooters. I’ve tried “GetHitUnderCursorByChannel” Breaking the hit results, and setting the world location of the camera spring arm which does work but the camera follows everywhere on the map. Then I’ve tried vector clamp but cant seem to get it to function right. Any help would be appreciated.