# Input Mobile touch

**URL:** <https://forums.unrealengine.com/t/input-mobile-touch/627291>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, iOS, Android, UE4, question\
**Created:** [August 12, 2022, 7:06pm UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291 "2022-08-12T19:06:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuanMaldini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/juanmaldini/32/572920_2.png) [@JuanMaldini](https://forums.unrealengine.com/u/JuanMaldini)\
**Post date:** [August 12, 2022, 7:06pm UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291/1 "2022-08-12T19:06:17Z")

</div>

Hello everyone! Help! Having issues with TOUCH INPUT.

I need my player to make a “SimpleMove” and spawn a circle on the floor with a double tap/click. It works perfectly on Desktop.

On the other hand, on mobile, it detects the touch point location correctly on the floor; I mean, the input is well received. However, it doesn’t work every time; I have to try many, many times in order to achieve the circle and movement.

 ![299365676_5230804796968865_8300993107275460270_n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/9/ed99d6526a455f0b632d0992ec1394fe571d6654.jpeg)  
 ![299126736_5230804906968854_5200364071845255686_n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/2/0123ff26a301119da382add5e03457bf277c97e9.jpeg)  
 ![298104368_5230804963635515_2902065224851064590_n](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/2/f2222e5ab3fcff183d997fb7cb170bff303c0bac.jpeg)

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 13, 2022, 2:06am UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291/2 "2022-08-13T02:06:25Z")

</div>

Hey there @JuanMaldini! So from your blueprints I’m not seeing where the fault is right away, is there any way. Is there any way we can see how it reacts? Could you put breakpoints on the nodes that set the location for the circle and movement, and maybe print it’s values so you can check if it’s the setting that’s the problem or the function for the movement to the location. I’m guessing it’s likely the input from the phone coming in weird but I’ll have to see it in action as well.

---

<div class="post-metadata">

**Author:** ![dev.ue.games](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dev.ue.games/32/466816_2.png) [@dev.ue.games](https://forums.unrealengine.com/u/dev.ue.games)\
**Post date:** [August 13, 2022, 9:24pm UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291/3 "2022-08-13T21:24:50Z")

</div>

> [@JuanMaldini](#):
>
> However, it doesn’t work every time

i had a similar problem… i solved it by creating an additional object…  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/7/82781af165374a4806afa4f758957d840250463f.png)  
the arrow attachment is not actually to the cursor  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/3/963421c9d8a4f93a28372ed4ce57e96a276c5f01.png)  
at the point where I clicked - the actor spawns at a height of 300 (vertically) - a line goes down from him… he controls the relocation of the arrow

---

<div class="post-metadata">

**Author:** ![dev.ue.games](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dev.ue.games/32/466816_2.png) [@dev.ue.games](https://forums.unrealengine.com/u/dev.ue.games)\
**Post date:** [August 13, 2022, 9:41pm UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291/4 "2022-08-13T21:41:38Z")

</div>

> [@JuanMaldini](#):
>
> On the other hand, on mobile, it detects the touch point location correctly on the floor

I do it with a slightly different code) show a screenshot from the game, it’s interesting

---

<div class="post-metadata">

**Author:** ![JuanMaldini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/juanmaldini/32/572920_2.png) [@JuanMaldini](https://forums.unrealengine.com/u/JuanMaldini)\
**Post date:** [August 14, 2022, 11:36pm UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291/5 "2022-08-14T23:36:57Z")

</div>

Thanks all for the contribution.

This is the problem that I find in my code. My “Get Location Under Cursor/Finger” Function wasn’t returning a result when “Is Táctil” is set True.

I tried to print the Hit Actor Name when I Touch and the actor is null. Looks Like it does not find actor…

I find a post with the same problem

> [@Get Hit Result Under Finger By Channel returns null](https://forums.unrealengine.com/t/get-hit-result-under-finger-by-channel-returns-null/466291):
>
> I’ve got a problem with this blueprint, not sure if this is a bug, or incorrect usage of it. I’ve got this script: [303646-testevent.png] It always returns null, even though i hit actors, objects, terrain. Every hit result is a null, even a location. But sometimes it does work, if i spam my finger on the screen, there is a tiny chance it will fire off correctly with correct location and actor hit. Is this a bug? Where am i wrong here? Thank you.

---

<div class="post-metadata">

**Author:** ![JuanMaldini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/juanmaldini/32/572920_2.png) [@JuanMaldini](https://forums.unrealengine.com/u/JuanMaldini)\
**Post date:** [August 14, 2022, 11:49pm UTC](https://forums.unrealengine.com/t/input-mobile-touch/627291/6 "2022-08-14T23:49:00Z")

</div>

![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/7/d3743ed6a5900517431358d3a6e06d0330cafc28.png)  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/1/a911b3578a4287ff6958caa639e61e0a052ab1b7.png)  
 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/c/0ac4e15b7671754da8da6f8a4be86d645e50dfdb.png)  
 ![4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/f/17f5a10ab8db29aba5e6daf181fae8249db3a690.png)

It prints “Null Object” when “Is Tactil” is true  
Here is the screenshoot.

Thank’s!
