Distance matching Stop animations

Hi guys. I’ve been trying to implement distance matching with Paragon assets. I’m starting so I’m literally a noob.
My question is, how can I set up the stop transition logic? I mean, I check the distance between my stop position and the actor. Will that distance be the value of the Distance Curve?? I suppose I have to play the stop animation from this value??? Help me pls and ty in advance.

Btw I check the distance when my character is still moving and acceleration is zero.

Those are some images to help with the issue.