Camera Moving with Cursor

I’m working on a third-person template project where I’ve clamped the Yaw and Pitch min-max views, but would only like the camera to move if the player’s visible cursor hits or nears the boundary of the screen (think Star Fox 64, but with a cursor to drive the screen bumping). I’m having difficulty finding resources on how to do this or even where to start getting smart on this subject. Will someone point me in the direction of relevant documentation or a good tutorial, please?