# Problem with "Click to Move" in Client side!

**URL:** <https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578>\
**Category:** Character & Animation\
**Tags:** client, client-to-server, unreal-engine, please-help-me, mouse, Multiplayer, need-help, mouse-click, question\
**Created:** [November 26, 2024, 6:30pm UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578 "2024-11-26T18:30:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAT\_Official](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rat_official/32/1000690_2.png) [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Post date:** [November 26, 2024, 6:30pm UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/1 "2024-11-26T18:30:20Z")

</div>

Hello, I am trying to make a “Click to Move” system for Multiplayer but it seem Client… for some reason, is not moving

I am sure I am doing something wrong but i am not sure of it

Here is blueprint :

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/9/d2931471c7083000bf9401f0eedf7143ebb4f989.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/6/fb61a08931c8c020cf25bc165c6842a1246edf66.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/5/ba569d9ea3064aed75c4a0afdb40a17f314fad24.png)

“Get Hit Result Under Cursor by Channel” sometimes shown X : 0, Y : 0, Z : 0 on Client for some reason  
then got fixed after i added and Compared them with “Line by Trace” but even if it shows true Location i clicked :

- Standalone (For single-player i think?) : Works
- Listen Server : [Server : Works], [Client : Doesn’t Work]
- Only Client : Doesn’t work

I am trying to make Multiplayer but somehow cannot move Client-side

Here is the video showing both Server-Side and Client-Side :

Video seems laggy for some reason after uploading it… for somereason…

Uploading a 2nd video hoping, it won’t be laggy after upload?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 26, 2024, 9:57pm UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/2 "2024-11-26T21:57:06Z")

</div>

The server is an authoritative model. The move to command should be made via an RPC (remote procedure call) from the client to the server.

The simple move to should be called on the server passing in the vector location to the RPC. (make a custom event, change it to server and add a vector input to pass along the information).

Then instead of calling the simple move to directly, do it via the server event which in turns calls simple move to on the server side.

---

<div class="post-metadata">

**Author:** ![RAT\_Official](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rat_official/32/1000690_2.png) [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Post date:** [November 27, 2024, 9:10am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/3 "2024-11-27T09:10:45Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/a/e1a41b0e620dca171c8f0287eec03f8e09dcd807.png)  
Still doesn’t seem to let client move  
only server moves

am i doing something wrong?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 27, 2024, 10:01am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/4 "2024-11-27T10:01:32Z")

</div>

The RPC has to be called from either the player controller or a possessed pawn. The class that is calling the RPC has to be it’s owner for it to work.

---

<div class="post-metadata">

**Author:** ![RAT\_Official](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rat_official/32/1000690_2.png) [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Post date:** [November 27, 2024, 10:06am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/5 "2024-11-27T10:06:27Z")

</div>

I call it from PlayerController, Server and Standalone can move but if “Client” it doesn’t want to move  
there is 1 time it worked but its not the way i want

i had to make it “Triggered” and hold the Left Click to move it, which is not what i want :C

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/5/c552bf07af01e86f5844f51b47d33984b8796f02.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/9/5091d081cee28ce13a51ca0b41245c4a7150cce4.png)

The client… for some reason doesn’t want to move no matter what with “Simple Move”

if i check with “Has Authority” it returns True

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 27, 2024, 10:20am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/6 "2024-11-27T10:20:12Z")

</div>

Try turning off run under one process in the project settings. It can cause multiplayer to behave strange on a single machine

 ![process](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/9/969f7ba67835969064956fb240b4aa6568feb730.png)

---

<div class="post-metadata">

**Author:** ![RAT\_Official](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rat_official/32/1000690_2.png) [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Post date:** [November 27, 2024, 10:25am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/7 "2024-11-27T10:25:20Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/9/6a9c31ea9e0ce6360f5044a4895a3ee681bcd002.png)

  
ughh I am gonna cry

it still doesn’t move client :C

i will search more ways tomorrow then ( gotta go job :C )

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 27, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/8 "2024-11-27T14:59:09Z")

</div>

> **[TopAimMP.zip](https://drive.google.com/file/d/1-aBz-xDAvCBFBA0ixHH3vDXBu51zQP7G/view?usp=sharing)**
>
> Google Drive file.

Example click to move multiplayer

---

<div class="post-metadata">

**Author:** ![RAT\_Official](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rat_official/32/1000690_2.png) [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Post date:** [November 27, 2024, 6:12pm UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/9 "2024-11-27T18:12:06Z")

</div>

Thank you, i will take this as an example and implement it this way!  
i didn’t understand pre-made TopDown template last time  
now that i am checking it carefully  
i can see what i have done wrong and how to do it better way

---

<div class="post-metadata">

**Author:** ![RAT\_Official](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rat_official/32/1000690_2.png) [@RAT\_Official](https://forums.unrealengine.com/u/RAT_Official)\
**Post date:** [December 1, 2024, 10:35am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/10 "2024-12-01T10:35:42Z")

</div>

Finally!

I was so confused and tried many things  
I tried to 1:1 copy “[TopAimMP.zip](https://drive.google.com/file/d/1-aBz-xDAvCBFBA0ixHH3vDXBu51zQP7G/view?usp=sharing)”

but also failed many things ( i didn’t want to change my whole file set-up style so i tried to learn stuff myself)

i have made many errors and 1 of the worst errors I have made is

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/5/3f591a7f49e852101dde76f07ab369fce1261e4d.png)  
Not Making this “Placed in World or Spawned”, which made AIController not take over the Pawn

and

Not Changing the Default Pawn Class to a Camera one that will posses Character later on.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/6/0a686c80415165d8be10d8e94f88d20b44c20b0c.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/9/dc99931755a4c27326a787984f36366b6106d1ed.png)e

once I achieve my Goals  
I will make Tutorial about how to make all this easily ( i believe )  
Why? Because most of “ **Point to Move** ”/“ **Click to Move** ” like things mostly show **Single-Player** related things…

Thanks @3dRaven for his help

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [December 1, 2024, 11:41am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/11 "2024-12-01T11:41:55Z")

</div>

Contrats on getting it working on the client side 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [December 31, 2024, 11:42am UTC](https://forums.unrealengine.com/t/problem-with-click-to-move-in-client-side/2152578/12 "2024-12-31T11:42:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
