How to adjut this code to set it to a fix movement speed (spline/timeline)

It’s very straightforward.

You have the timeline on loop, that’s what it’s repeating.

The alpha goes from 0-1 and that’s what powers the lerp to go from the start to the end of the spline.

Instead of fiddling with the timeline every time you fiddle with the spline, all you have to do is use that SetPlayRate you already have in there to make the timeline play at a different rate. I can see they must have mentioned this in the tutorial, that’s why you have that duration variable on the play rate.

So all you have to do is change the duration variable…