Toggle walk/run ground speeds

I added the following to switch between walk run, its identical to others out there except for the addition of a flip/flop so you don’t have the key down.

It works as desired except the slower I go the more it looks like the character is iceskating (you are still traveling forward between steps… What am I missing? (Yes there are default values in the speed variables. You don’t move without them). Does velocity need to be tied into this?
Thanks in advance

You would need to get the current velocity of the character and load that variable into a blendspace. The 3rd person blueprint example by Epic does this.