# Hit result under finger is always returning null or 0

**URL:** <https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111>\
**Category:** Blueprint\
**Tags:** channel, hit-result, unreal-engine, touch, Android, question, Blueprint\
**Created:** [October 2, 2014, 3:04pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111 "2014-10-02T15:04:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asher\_S\_Einhorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asher\_S\_Einhorn](https://forums.unrealengine.com/u/Asher_S_Einhorn)\
**Post date:** [October 2, 2014, 3:04pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/1 "2014-10-02T15:04:49Z")

</div>

My code works on a PC, but when I try and catch a touch event instead of a click event and cast a hit result from that (on an android device) the location is 0 no matter where I touch, and the actor is null no matter what I’m pressing over. any ideas?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 2, 2014, 5:38pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/2 "2014-10-02T17:38:11Z")

</div>

Hi SirYakalot,

How are you calling the hit result and attempting to get the information under it? What version of the editor are you currently using?

---

<div class="post-metadata">

**Author:** ![Asher\_S\_Einhorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asher\_S\_Einhorn](https://forums.unrealengine.com/u/Asher_S_Einhorn)\
**Post date:** [October 2, 2014, 7:16pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/3 "2014-10-02T19:16:18Z")

</div>

4.4.3. I am getting the touch event as I print a string from a branch which is checking for a finger index that equals ‘touch1’. After that I’m piping in the data from a ‘get hit result under finger by channel’, I’m breaking the hit result and printing the data. The setup is exactly the same as the mouse version that works, the only difference is the finger by channel / cursor by channel. Thanks for any help you can give me!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 3, 2014, 5:11pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/4 "2014-10-03T17:11:53Z")

</div>

Hi SirYakalot,

Which data are you looking for from the break hit result? Do any of the outputs register or are none of them registering data?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 8, 2014, 8:24pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/5 "2014-10-08T20:24:49Z")

</div>

Hi SirYakalot,

We have not heard from you in quite some time. I am marking this thread as answered for tracking purposes. If you are still experiencing this error, please reply with the requested information. Thank you!

---

<div class="post-metadata">

**Author:** ![Asher\_S\_Einhorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Asher\_S\_Einhorn](https://forums.unrealengine.com/u/Asher_S_Einhorn)\
**Post date:** [October 15, 2014, 6:15pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/6 "2014-10-15T18:15:36Z")

</div>

For some bizarre reason the solution was selecting the correct texture format for the android device. I had been using the untagged one, I switched to ATC and now it works. Strange. Hopefully this will help someone in the future if they encounter this problem.

---

<div class="post-metadata">

**Author:** ![Janyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Janyx](https://forums.unrealengine.com/u/Janyx)\
**Post date:** [July 19, 2017, 5:45am UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/7 "2017-07-19T05:45:54Z")

</div>

Could you provide anymore details? I am having the same issue and I tried switching the textures but it is still always (0,0)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_31b71f521](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_31b71f521](https://forums.unrealengine.com/u/anonymous_user_31b71f521)\
**Post date:** [May 14, 2018, 2:30am UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/8 "2018-05-14T02:30:53Z")

</div>

Did anyone ever resolve this? Having a similar issue.

---

<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 16, 2022, 1:59am UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/9 "2022-08-16T01:59:47Z")

</div>

[=“anonymous\_user\_31b71f52, post:8, topic:295111”]  
one ever resolve this? Having  
[/]

I´m having the same problem… In my case, rarely times works well but still fails.

---

<div class="post-metadata">

**Author:** ![Dobacetr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dobacetr](https://forums.unrealengine.com/u/Dobacetr)\
**Post date:** [April 9, 2024, 3:37pm UTC](https://forums.unrealengine.com/t/hit-result-under-finger-is-always-returning-null-or-0/295111/10 "2024-04-09T15:37:43Z")

</div>

I had a similar issue where the hit result was 0 on/after release. For some reason, it is not a good idea to call `hit result under finger` on action complete/cancel for a touch input action. I assume its position is simply reset, and we don’t have access to it anymore. (I have it reset on the last triggered as well… So, i have to store the previous one)

I worked around it by storing a hit result in tick and using that result at release (because I was already doing that).

Edit: This is still true in UE5.5. I had the same problem again, only to find my own answer 🙂
