# Dragging objects is different on iPad than mobile preview

**URL:** <https://forums.unrealengine.com/t/dragging-objects-is-different-on-ipad-than-mobile-preview/157086>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [January 29, 2021, 8:16pm UTC](https://forums.unrealengine.com/t/dragging-objects-is-different-on-ipad-than-mobile-preview/157086 "2021-01-29T20:16:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![E\_Callahan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@E\_Callahan](https://forums.unrealengine.com/u/E_Callahan)\
**Post date:** [January 29, 2021, 8:16pm UTC](https://forums.unrealengine.com/t/dragging-objects-is-different-on-ipad-than-mobile-preview/157086/1 "2021-01-29T20:16:23Z")

</div>

When I package my game and launch it on iPad, dragged objects move differently than they do in the mobile preview. Any thoughts on what I’m doing wrong?

For example, on this level, the object no longer faces the direction of the movement.  
Mobile preview:  
[https://youtu.be/hsTymeb3OKY](https://youtu.be/hsTymeb3OKY)

iPad:  
[https://youtu.be/Fg4FBAazaf4](https://youtu.be/Fg4FBAazaf4)

I’m using UE4.26 and iOS 14.4.

Here are my BPs:

 ![LevelBP.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/2/ab2a64d6a0ff111964bd303be8d2c3b1e22662ba.png)  
https://forums.unrealengine.com/core/image/gif;base64  
​  
 ![5db1220049fe7a67d5f3951c69a4ab4f3e3c8cdd.png](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)  
 ![4518268f438689b1eecc739cba0819f61ab9432f.png](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![cybereality](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cybereality](https://forums.unrealengine.com/u/cybereality)\
**Post date:** [January 29, 2021, 10:24pm UTC](https://forums.unrealengine.com/t/dragging-objects-is-different-on-ipad-than-mobile-preview/157086/2 "2021-01-29T22:24:31Z")

</div>

Looks like you are using Get Mouse Delta, which maybe doesn’t work on mobile.

One way to get around this is to save the last touch position in a variable, then substract it from the current touch position, and that will get you the delta.

---

<div class="post-metadata">

**Author:** ![E\_Callahan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@E\_Callahan](https://forums.unrealengine.com/u/E_Callahan)\
**Post date:** [January 30, 2021, 6:20pm UTC](https://forums.unrealengine.com/t/dragging-objects-is-different-on-ipad-than-mobile-preview/157086/3 "2021-01-30T18:20:19Z")

</div>

That did the trick! I figured using Get Input Mouse Delta was going to be the culprit. just couldn’t figure how to replicate it for touch.Thank you!

Nice blog, BTW.
