/Engine/Plugins/Animation/AnimationLocomotionLibrary/Source/Runtime/Public/AnimDistanceMatchingLibrary.h
Set the time of the sequence evaluator to the point in the animation where the distance curve matches the DistanceToTarget input. A common use case is to achieve stops without foot sliding by, each frame, selecting the point in the animation that matches the distance the character has remaining until it stops. Note that because this technique sets the time of the animation by distance remaining, it doesn't respect phase of any previous animation (e.g. from a jog cycle).
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Distance Matching", Meta=(BlueprintThreadSafe)) static [FSequenceEvaluatorReference](API\Runtime\AnimGraphRuntime\FSequenceEvaluatorReference) DistanceMatchToTarget ( const [FSequenceEvaluatorReference](API\Runtime\AnimGraphRuntime\FSequenceEvaluatorReference) & SequenceEvaluator, float DistanceToTarget, [FName](API\Runtime\Core\UObject\FName) DistanceCurveName )