How to change color on the travel path unreal engine4

If I wanted to set it up for a spline track (closed spline) that has a single parametrised run-time material:

Image from Gyazo

Does this make sense?