# Set Actor Location and Actor Rotation - Client Replication

**URL:** <https://forums.unrealengine.com/t/set-actor-location-and-actor-rotation-client-replication/1312130>\
**Category:** Blueprint\
**Tags:** Networking, Replication, replicate, actor-rotation, actor-location, unreal-engine, Blueprint, replicating\
**Created:** [September 25, 2023, 11:16pm UTC](https://forums.unrealengine.com/t/set-actor-location-and-actor-rotation-client-replication/1312130 "2023-09-25T23:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrndMstrFlw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrndMstrFlw](https://forums.unrealengine.com/u/GrndMstrFlw)\
**Post date:** [September 25, 2023, 11:16pm UTC](https://forums.unrealengine.com/t/set-actor-location-and-actor-rotation-client-replication/1312130/1 "2023-09-25T23:16:34Z")

</div>

I am trying to replicate actor rotation which some might say is already handled via replicate movement, but this is not movement based rotation.

This rotation happens with mouse cursor. I am setting the rotation on the tick event (testing purposes but will move to a timer later on) where it sets the actor rotation to the direction between the actor location and a decal which is set to the mouse hit location.

I then create my RPC Server custom event and pass in the rotation and location into this custom event and have my RPC Server event call a MC event where I then update the rotation and location again for all clients.

So I am updating the rotation/location on the client, calling the server to update the rotation on a Multicast event, which sounds logical for replication, yet I’m only able to have the server replicate to the client; the client doesn’t replicate back to the server.

I have double checked that my variables are set to replicate, my actors are set to replicate, and my custom events are correctly set to server and MC respectively. I have then tried using a rep notify to handle the same thing, but it yields the same results.

Does anyone have any ideas? This is handled in my Character Blueprint, but I have also tried and tested similar (I believe identical) logic inside the player controller with worse results.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/1/8618c917dfb1cf871ac90e5eb24722504bcd1ff6.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/d/bfdedc446e53f678494bf57755190f54afe3b79f.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/6/f66e2330198070fe1852536c7ce028a8bba5729a.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/7/6e715e094e2c1a638c0e0e54b306c753f3fa909b.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/9/7c956445f918821a4ebab4703d08abe143450d4d.png)
