Need help with moving on multiple splines

I’m currently stuck on something and have no idea how to go about doing this - I’m fairly new to using blueprint as a whole so not entirely sure what to do to achieve this but here’s what I’m trying to accomplish:

Basically, if you think about temple run (not making anything like it but it helps explain what I’m trying to do) the way the player snaps to the left of the screen when you move left, snaps back to the middle and snaps to the right, he has 3 paths he can follow, that’s what I’m trying to create.

I want to make it so that when you press w you move up a spline, when you press w again it can’t let you move any higher because there isn’t any more splines in that direction so you have to press s to move back to the center spline and s again to move to the very bottom spline and then pressing s again will of course make it so you can’t move any more because there are no more splines.

How do I make it so that if I have three splines, the player can snap between the splines when a key is pressed?

Thanks in advance

Bumping for visibility, I’ve got the same problem