# How can I Move my camera with different Keys???

**URL:** <https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 25, 2014, 6:08pm UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126 "2014-08-25T18:08:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [August 25, 2014, 6:08pm UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/1 "2014-08-25T18:08:24Z")

</div>

Hey Guys! I’m new to UE. I’m playing around with the blueprint stuff in the top down template. I’ve deleted the camera attached to the player and created my own camera placed at a particular angle.

I want to move the camera in a RTS style manner, like WASD to move the camera in all direction. How can I achieve this?

Please help.

Thank You.

---

<div class="post-metadata">

**Author:** ![pattym](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pattym](https://forums.unrealengine.com/u/pattym)\
**Post date:** [August 25, 2014, 8:45pm UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/2 "2014-08-25T20:45:24Z")

</div>

I’d recommend checking out my tutorial for RTS style camera movement. It should be a good start to hopefully get you in the right direction.

[RTS Style Camera Movement](http://voxagon.blogspot.co.uk/2014/07/ue4-tutorial-rts-style-camera-movement.html)

---

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [August 25, 2014, 10:19pm UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/3 "2014-08-25T22:19:44Z")

</div>

> [@pattym;126023](#):
>
> I’d recommend checking out my tutorial for RTS style camera movement. It should be a good start to hopefully get you in the right direction.
> 
> [RTS Style Camera Movement](http://voxagon.blogspot.co.uk/2014/07/ue4-tutorial-rts-style-camera-movement.html)

Thanks for the reply. I’ll try it first thing tomorrow morning and will let you know…Cheers!

---

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [September 2, 2014, 9:51pm UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/4 "2014-09-02T21:51:17Z")

</div>

@pattym Sorry for such late feedback…I’ve been busy last few days…I’ve tried your solution until the 5th page. I’m using it in the top down template. I’m having an issue, hope you might be able to help. Whenever I hit play in the editor, the camera starts at **Player Start** location.

It moves perfectly with the WASD controls. But the mouse controls aren’t working at all. How can I solve this.

---

<div class="post-metadata">

**Author:** ![falola](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@falola](https://forums.unrealengine.com/u/falola)\
**Post date:** [September 2, 2014, 10:15pm UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/5 "2014-09-02T22:15:00Z")

</div>

I solved this by adding input into my player controller and adding my own variables that controls the camera so I have a function that moves the camera left when i hit the ‘A’ key. In my level I have a CameraActor that I grab a pointer to in BeginPlay in my player controller that I use to move.

You need to make sure that you are setting up the camera with SetViewTargetWithBlend to make your game uses your custom camera

---

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [September 3, 2014, 9:01am UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/6 "2014-09-03T09:01:32Z")

</div>

> [@falola;132380](#):
>
> You need to make sure that you are setting up the camera with SetViewTargetWithBlend to make your game uses your custom camera

You mean in the level blueprint. I’ve done that already. It now starts at the custom camera position, but now the camera doesn’t move at all.

---

<div class="post-metadata">

**Author:** ![AmareshB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amareshb/32/852526_2.png) [@AmareshB](https://forums.unrealengine.com/u/AmareshB)\
**Post date:** [September 3, 2014, 11:17am UTC](https://forums.unrealengine.com/t/how-can-i-move-my-camera-with-different-keys/10126/7 "2014-09-03T11:17:49Z")

</div>

Its working Guys! There was mistake on my side…I messed up a few things inside the **UpdateCameraLocation&Rotation** function.
