In my game a player can click a button on the UI to toggle run/walk. This works fine for the server, but this toggle does not work for clients. I am pretty sure this will be related to network replication but I cannot work it out. I will post relevant blueprints to help get a better idea.
I have a character blueprint, which spawns and creates a UI:
In this UI, there is an event for handling a mouse click on the walk/jog toggle button:
How should I go about replicating this to the server and other clients?