Help with mouse follower

I understand the code on your mouse follower with easing tutorial, but I would like to make eyes follow the mouse while staying in the sockets, lol. If anyone could explain to me how to code the eyes following the mouse while being held within a certain area, that would be awesome. thanks.