Download

How to toggle moment speed on UI click in multiplayer

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:
6c1da22ca7e7f7c6466d3bfa5019407b838b42c0.png

In this UI, there is an event for handling a mouse click on the walk/jog toggle button:
00bcba33d6d6e5d461b6136c7e0c16d21c43d1f6.png

How should I go about replicating this to the server and other clients?

Clients are not allowed to change replicated properties, try executing that event on the server by using a custom event with that replication property, though I can’t say for sure until I know what is in your Toggle Jog function.