# I can't get touch result on a button

**URL:** <https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466>\
**Category:** UI\
**Tags:** button, Input, hit-result, unreal-engine, question\
**Created:** [August 6, 2019, 8:21pm UTC](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466 "2019-08-06T20:21:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KOMPLE21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KOMPLE21](https://forums.unrealengine.com/u/KOMPLE21)\
**Post date:** [August 6, 2019, 8:21pm UTC](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466/1 "2019-08-06T20:21:56Z")

</div>

Hello! Anyone knows why my spawned button doesnt count as touch input? Is it the Z order? I want to get a hit result under finger on a button and set a relevant location on world. But when i press the button i dont get a touch 1 finger index result

---

<div class="post-metadata">

**Author:** ![ppchavan001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ppchavan001](https://forums.unrealengine.com/u/ppchavan001)\
**Post date:** [August 6, 2019, 8:47pm UTC](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466/2 "2019-08-06T20:47:50Z")

</div>

i don’t think you can get two events fired on the same touch  
if you want to use a button to spawn something in the world then calculate the location manually and spaw it on the button’s evet

---

<div class="post-metadata">

**Author:** ![KOMPLE21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KOMPLE21](https://forums.unrealengine.com/u/KOMPLE21)\
**Post date:** [August 6, 2019, 8:53pm UTC](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466/3 "2019-08-06T20:53:45Z")

</div>

I actually started doing something like that, but i m having trouble transforming my button world location to my player world location. How do i make the location of the center of the button be the location of my character? now i can only spawn a decal at the world location underneath my button instead of top of my character. I supposed there are some kind of math involved

---

<div class="post-metadata">

**Author:** ![ppchavan001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ppchavan001](https://forums.unrealengine.com/u/ppchavan001)\
**Post date:** [August 7, 2019, 9:17pm UTC](https://forums.unrealengine.com/t/i-cant-get-touch-result-on-a-button/453466/4 "2019-08-07T21:17:15Z")

</div>

you could use,  
[https://answers.unrealengine.com/questions/55773/get-screen-location-to-world-space.html](https://answers.unrealengine.com/questions/55773/get-screen-location-to-world-space.html).  
to convert location of your widget after that it would be pretty much the same
