Set animation time through blueprints?

The use case is for recreating the “anim interactables” in the VR game Half Life : Alyx. Basically there’s a spline between two points, and you need to get the closest point on this line to the vr motion controller. Then you divide it by the length of the spline, so you’ll know if you’re say 20% down the length of the spline. So now you can update the animation to be at whichever frame is at 20% of the animation.

So I want to avoid having the animation play out completely, it should pause on a specific frame until it’s allowed to update.

I had previously got this working in Unity back before I switched engines, but it was a much more straight forward matter. I would just have an animation that doesn’t play, but set its normal time through a script and apply it to the targeted mesh. I’d rather avoid constantly resetting an animation, and instead stop playing the animation completely, then update the frames manually.

I haven’t played with the animation blueprints enough to know for sure if there was a way to pause the animation and update the time through script, but it seems as though setting the play rate to 0.0, then updating the start position as you’ve shown would achieve the same effect