Camera focus on actor

Hello, I have actors that I can interact with by clicking on them and these actors get outline to appear on them upon being clicked. The thing that I’m trying to do is that I want the camera to “focus” on this object and make everything except this object to be blurred out. I’ve watched videos about auto DOF and tried to use it in my own way but I’ve been unable to figure out how to do what I desire. I was wondering if anybody could help me out with this.

Here’s the function that handles the logic upon clicking

Thanks in advance!

Bumping this to see if anybody could help me out