Changing speed of character with input

Hi I have a character blueprint what i want to do is have an input of say “2” that changes the speed of the character’s walk speed. I have tried using enable input but it doesn’t work. I’m using a character blueprint.

Any Help would be appreciated

Hello,
You can use the max walk speed variable as in this example : How do I create a Sprint Blueprint? - Programming & Scripting - Unreal Engine Forums