# Camera movement on mouse click and drag

**URL:** <https://forums.unrealengine.com/t/camera-movement-on-mouse-click-and-drag/318917>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, mouse-click, question\
**Created:** [May 17, 2015, 6:41pm UTC](https://forums.unrealengine.com/t/camera-movement-on-mouse-click-and-drag/318917 "2015-05-17T18:41:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gogata258](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gogata258](https://forums.unrealengine.com/u/gogata258)\
**Post date:** [May 17, 2015, 6:41pm UTC](https://forums.unrealengine.com/t/camera-movement-on-mouse-click-and-drag/318917/1 "2015-05-17T18:41:38Z")

</div>

Hi everyone,

How should I make a camera move when a person right clicks and then drags on the screen, just like in the UE editor when you click the middle mouse and drag to change the camera location on the Z axis.
