Hi people, I need a lil help with something and know tht one of you will have a simple solution for me

So basically I want a object to move towards the mouse every tick with a physics force but if its far away I want it to move fast towards the the mouse and when getting closer to gradually slow until a stop when overlapping the mouse sprite, any elegant solutions? thnx