How do I change walk speed by pressing widget button

I’m new to ue4, so this question may seem stupid. I’m trying to change characters walk speed and it’s pretty easy in PC project, but as I’m working on a mobile project, I need to change it by pressing a button widget. So, can anyone show me the way I do that?

In your widget go to your button on click event.

Get player Character > cast to “You Character Class”> get movement component> Set Max Walk Speed

It´s not work for me, can you help me please?

SOLVED,I forgot about game instance :slight_smile: