# How to get click position on mobile? (UMG)

**URL:** <https://forums.unrealengine.com/t/how-to-get-click-position-on-mobile-umg/401334>\
**Category:** Mobile\
**Tags:** click, Mobile, unreal-engine, Widget, UE4, question, Blueprint\
**Created:** [August 8, 2017, 4:07pm UTC](https://forums.unrealengine.com/t/how-to-get-click-position-on-mobile-umg/401334 "2017-08-08T16:07:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZindavLaBetrav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZindavLaBetrav](https://forums.unrealengine.com/u/ZindavLaBetrav)\
**Post date:** [August 8, 2017, 4:07pm UTC](https://forums.unrealengine.com/t/how-to-get-click-position-on-mobile-umg/401334/1 "2017-08-08T16:07:30Z")

</div>

So I can get the mouse position when testing on computer :

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/7/397ac24e7fde778aaee6f18b0c1b52e479600e27.png)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/9/bf974975a6856a4890e332d9ba4fa387903f8751.png)

The real problem is when I test on mobile, the widget spawn at non-logic locations, often several in a row at the same place, and it change after 4,5,…,20 click.  
It’s random.

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [August 8, 2017, 5:40pm UTC](https://forums.unrealengine.com/t/how-to-get-click-position-on-mobile-umg/401334/2 "2017-08-08T17:40:58Z")

</div>

On mobile you can get touch location from InputTouch event node.

---

<div class="post-metadata">

**Author:** ![SkimpKillah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkimpKillah](https://forums.unrealengine.com/u/SkimpKillah)\
**Post date:** [August 8, 2017, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-get-click-position-on-mobile-umg/401334/3 "2017-08-08T17:57:57Z")

</div>

InputTouch, drag a wire off of Finger Index, attach that to a Hit Results Under Finger By Channel, set the Target to Player Controller, from Hit Results Under Finger by Channel, pull a wire off of the hit result, attach that to a Break Hit, and pull a wire off of location to have your touch location.

In the included picture you can see how I have it set up, I also have a lot of other things going on, but the touch location part you are looking for can clearly be seen. Good luck!

 ![203927-touch+location.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/7/627f5cdb8375045574a2c4ca3c7a3e98b1d68ac7.jpeg)

---

<div class="post-metadata">

**Author:** ![Nizami\_Nz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nizami\_Nz](https://forums.unrealengine.com/u/Nizami_Nz)\
**Post date:** [October 22, 2020, 7:09am UTC](https://forums.unrealengine.com/t/how-to-get-click-position-on-mobile-umg/401334/4 "2020-10-22T07:09:27Z")

</div>

Hello. I found the answer to this question. The system works without fail regardless of (Anchors) or (Screen Size).You need to insert instead of (Get mouse position) to (Get touch position). Hope I could help you !!!

 ![319609-tocenter.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/9/d89fe11bfd6f15f2df69d69c3d4dc1941e421f87.jpeg)
