# Controlling player and camera seperately

**URL:** <https://forums.unrealengine.com/t/controlling-player-and-camera-seperately/373443>\
**Category:** Cinematics & Media\
**Tags:** controller, unreal-engine, question\
**Created:** [October 16, 2016, 12:24am UTC](https://forums.unrealengine.com/t/controlling-player-and-camera-seperately/373443 "2016-10-16T00:24:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Halcon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Halcon](https://forums.unrealengine.com/u/Halcon)\
**Post date:** [October 16, 2016, 12:24am UTC](https://forums.unrealengine.com/t/controlling-player-and-camera-seperately/373443/1 "2016-10-16T00:24:20Z")

</div>

Hey, I have set up an RTS style camera where you can move with wasd and stuff, but I would like to know how to also control a character. I would like him to move to where the player clicks, just like in the top down template. I am pretty sure I am missing something.

I currently have the camera set up, and I have also created another pawn for the character, but when I click around in the level, nothing happens. This is what I have in my controller:

 ![111044-controller.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/6/df6dc1723b936d73c6a854dc7c86417e477a6c83.png)

---

<div class="post-metadata">

**Author:** ![Lexyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lexyth](https://forums.unrealengine.com/u/Lexyth)\
**Post date:** [October 16, 2016, 3:09am UTC](https://forums.unrealengine.com/t/controlling-player-and-camera-seperately/373443/2 "2016-10-16T03:09:17Z")

</div>

I can’t really find any problems in this setup, but I would consider swapping the controls, so that the Character moves via WASD and the camera by getting to the edges of the screen, or maybe with the arrow keys. Or even better by pressing LShift and WASD. It would be a bit easier, because it would save you some work later on, figuring out if the Mouse clicked on a place that the player cant get to, or where the player has to get around a wall to get to the Mouse click. It would just save you some time and effort to do it this way.  
I hope this helps you  
Lexyth

---

<div class="post-metadata">

**Author:** ![Halcon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Halcon](https://forums.unrealengine.com/u/Halcon)\
**Post date:** [October 16, 2016, 4:26am UTC](https://forums.unrealengine.com/t/controlling-player-and-camera-seperately/373443/3 "2016-10-16T04:26:18Z")

</div>

I will try to create the same camera system in the top down template and see what happens.

EDIT: Now the top down template doesn’t work when I set the default pawn to the camera, I know there is something obvious I am missing, but I don’t know what.

_Bump_

_Bump again_

Anyone?
