Train move with spline.

Hi, I wanted to make a spline based train movement system.
I have a blueprint - character with a model and a camera, and here I would like to do a script for spline movement.
I want the vehicle to move if I click a button and to stop if I click another button.

Is it even possible? If so, please help or blueprint with a solution.

I include my spline blueprint but of course I can change it.

Thanks in advance.

Splines have length and duration. Choose one:

You then generate an offset, find desired location along the spline, and position the actor. Here’s a crude example: