# How to Touch and Drag to rotate camera?

**URL:** <https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827>\
**Category:** Cinematics & Media\
**Tags:** drag, unreal-engine, touch, UE4, Blueprint, question\
**Created:** [November 25, 2014, 12:09pm UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827 "2014-11-25T12:09:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Camarao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Camarao](https://forums.unrealengine.com/u/Camarao)\
**Post date:** [November 25, 2014, 12:09pm UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/1 "2014-11-25T12:09:27Z")

</div>

Need to control the camera rotation by touch and draging for looking around…

---

<div class="post-metadata">

**Author:** ![Ockertvs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ockertvs](https://forums.unrealengine.com/u/Ockertvs)\
**Post date:** [April 8, 2015, 11:37pm UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/2 "2015-04-08T23:37:54Z")

</div>

Are you referring to touch on mobile ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_277c86b9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_277c86b9](https://forums.unrealengine.com/u/anonymous_user_277c86b9)\
**Post date:** [January 4, 2017, 2:52am UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/3 "2017-01-04T02:52:53Z")

</div>

Hi

I have the same question. can anybody help me, please?

---

<div class="post-metadata">

**Author:** ![Light\_Shock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/light_shock/32/1194530_2.png) [@Light\_Shock](https://forums.unrealengine.com/u/Light_Shock)\
**Post date:** [October 21, 2017, 5:13pm UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/4 "2017-10-21T17:13:38Z")

</div>

I’ve built a simple character movement interface which might help. The blueprint goes in the player controller.

It uses Input Touch. Touch 1 controls the rotate and up down. Touch 2 (if you put a second finger on the screen after the first ) controls movement of the character forward and sideways.

For the camera you just need the middle section ( touch look input )

Hope its of use:

 ![217478-touchmovement.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/a/24a46766ffadd578c34056aad41a6d772ff8aa6c.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e773414c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e773414c](https://forums.unrealengine.com/u/anonymous_user_e773414c)\
**Post date:** [November 8, 2018, 12:39pm UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/5 "2018-11-08T12:39:14Z")

</div>

ez.in player controller,set: enable mouse cursor

---

<div class="post-metadata">

**Author:** ![samdax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samdax](https://forums.unrealengine.com/u/samdax)\
**Post date:** [February 5, 2019, 9:44am UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/6 "2019-02-05T09:44:06Z")

</div>

Check this, work perfectly!

&t=0s&list=PL-fgKejowZqHurochl-VEf-UymadZuX1F&index=7

---

<div class="post-metadata">

**Author:** ![gadaubet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gadaubet](https://forums.unrealengine.com/u/gadaubet)\
**Post date:** [May 8, 2021, 11:00am UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/7 "2021-05-08T11:00:01Z")

</div>

Thank, good for me

---

<div class="post-metadata">

**Author:** ![Postprocessed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/postprocessed/32/631515_2.png) [@Postprocessed](https://forums.unrealengine.com/u/Postprocessed)\
**Post date:** [November 22, 2023, 6:08pm UTC](https://forums.unrealengine.com/t/how-to-touch-and-drag-to-rotate-camera/299827/8 "2023-11-22T18:08:32Z")

</div>

You are absolute legend. Worked like a charm. Also works for pixel streaming!! Now I am able to use it for all type of inputs.
