Right click to Aim; Replicate issue

Hi everyone, I want to add a controller mechanic where the player can “right click to Aim to Cursor” in multiplayer and my issue is the server doesn’t see the rotation from the client but it works the other way.

Briefly, We are doing a top down shooter and we want to add this feature where you can right click to aim and this should take the position of the cursor on the screen and rotate the player towards it. Right now im connecting IA_Aim to “AimOnServer” which is set to replicate: Run on server. and then it goes to “AimOnClient” and that one is on Multicast. and then it branch into the rest. I tried to move the setup on the BP_topdownController but the same nodes doesnt work (Which I thought would have been the way to go since everything is replicated inside this blueprint). I tried multiple ways to get it done by checking tutorial and this forum and this is closest that i could get it working multiplayer. (I really think this whole setup should be in BP_topdownController since this is replicated perfectly.)

Here’s a screenshot of the setup

I’ll continue looking to make it work and if anyone could help that would be great! Thank you!

you dont want to use getplayercontroller(0) in multiplayer as that will be different on server and client

also try set control rotation instead of set actor rotation

Thank you for you help! I will look into it and try what you said!