# Multi touch enable in mobile(Android)?

**URL:** <https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731>\
**Category:** Mobile\
**Tags:** Mobile, unreal-engine, Android, Blueprint, question\
**Created:** [November 7, 2015, 7:35am UTC](https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731 "2015-11-07T07:35:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3cfc8df7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3cfc8df7](https://forums.unrealengine.com/u/anonymous_user_3cfc8df7)\
**Post date:** [November 7, 2015, 7:35am UTC](https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731/1 "2015-11-07T07:35:30Z")

</div>

I have two Objects in my scene which move with my finger  
but when i press on the first one and then press on the second( Still pressing the first )

The second object goes to the first object ( )  
which means  
one finger touches the two object

what can i do to avoid this problem ???

---

<div class="post-metadata">

**Author:** ![Triblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Triblade](https://forums.unrealengine.com/u/Triblade)\
**Post date:** [November 9, 2015, 9:57am UTC](https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731/2 "2015-11-09T09:57:19Z")

</div>

I _think_ this is what you’re looking for. Touch1 is whichever finger presses the screen first and stays that way until it is removed. Touch2 becomes the second finger and so on. Try only moving the object if you detect it is Touch1 that’s interacting with the screen.

 ![66085-multitouch.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/4/a44cf8c046b64ff3a1fba3463bbd62dc2630938b.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3cfc8df7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3cfc8df7](https://forums.unrealengine.com/u/anonymous_user_3cfc8df7)\
**Post date:** [November 9, 2015, 2:21pm UTC](https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731/3 "2015-11-09T14:21:29Z")

</div>

can i make it with ( on input touch begin )  
or  
if i used this node how can i make it for an object ??

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3cfc8df7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3cfc8df7](https://forums.unrealengine.com/u/anonymous_user_3cfc8df7)\
**Post date:** [November 9, 2015, 2:25pm UTC](https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731/4 "2015-11-09T14:25:10Z")

</div>

and what if i want to move the 2 objects at the same time ???

---

<div class="post-metadata">

**Author:** ![Triblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Triblade](https://forums.unrealengine.com/u/Triblade)\
**Post date:** [November 9, 2015, 3:27pm UTC](https://forums.unrealengine.com/t/multi-touch-enable-in-mobile-android/337731/5 "2015-11-09T15:27:46Z")

</div>

If I’ve got this right, and you want to move object #1 with one finger and then object #2 with another?:

When ‘Pressed’ is called, store the object that you want to associate with ‘Touch1’. When ‘Moved’ is called, if it’s still ‘Touch1’, update the location of that object. When ‘Released’ is called, clear the stored object. Repeat for ‘Touch2’ and a second a object.

Regarding the other part of your question - Looking at ‘on Input touch begin’ - I’m not sure to be honest. With the method I suggested above, you probably need some logic to detect which object you’ve selected. Maybe you could mix the methods.

Either way, I hope this helps you find a solution. Good luck.
