# UMG - Mouse screen position problem

**URL:** <https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [November 9, 2014, 6:51pm UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933 "2014-11-09T18:51:09Z")\
**Posts on this page:** 6\
**Page:** 2

<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, 6:58am UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933/23 "2020-10-22T06:58:17Z")

</div>

Hello. I found the answer to this question. The system works without fail regardless of (Anchors) or (Screen Size). Hope I could help you !!!

---

<div class="post-metadata">

**Author:** ![Gustave\_404](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gustave\_404](https://forums.unrealengine.com/u/Gustave_404)\
**Post date:** [October 26, 2020, 9:49pm UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933/24 "2020-10-26T21:49:55Z")

</div>

> [@Chooka](#):
>
> ![Mouse Coords.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/8/4383d93bf59ebb8309c2d8e957c3bca4e47e0682.png)
> 
> here is something that may or may not be useful.

Thanks a lot, GetViewportScale - partially solved my problem but adding the Absolute to Local node - solves everything perfectly, why it is so magical - i am trying to investigate now )

---

<div class="post-metadata">

**Author:** ![MarshallBelles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarshallBelles](https://forums.unrealengine.com/u/MarshallBelles)\
**Post date:** [June 25, 2021, 4:09am UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933/25 "2021-06-25T04:09:50Z")

</div>

This appears to be fixed as of UE5.0 Preview (I no longer need to divide the GetMousePosition node output by the viewport scale to get the correct location on my machine, in my test project)

---

<div class="post-metadata">

**Author:** ![42stCalamity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@42stCalamity](https://forums.unrealengine.com/u/42stCalamity)\
**Post date:** [December 28, 2022, 11:40pm UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933/26 "2022-12-28T23:40:40Z")

</div>

in widgets, I use the node “get player controller\> get mouse position scaled by DPI”, and this error does not occur.

---

<div class="post-metadata">

**Author:** ![AMahone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AMahone](https://forums.unrealengine.com/u/AMahone)\
**Post date:** [June 23, 2024, 11:23am UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933/27 "2024-06-23T11:23:37Z")

</div>

Thx bro! You saved my time.

---

<div class="post-metadata">

**Author:** ![dpStudio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dpStudio](https://forums.unrealengine.com/u/dpStudio)\
**Post date:** [September 18, 2025, 1:31pm UTC](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933/28 "2025-09-18T13:31:41Z")

</div>

If anyone has the same problem as in this thread, but wants to convert the mouse cursor position to a location in the game world, the

\*\*Convert Mouse Location To World Space  
\*\*  
function helps. I was previously using

**Get Mouse Position Scaled by DPI** and **Deproject Screen to World**

, and the problem still persisted, so this might be useful for someone.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/3/38336ae2fd73912287a717485f353f734b3cfdca.png)

[Previous page](https://forums.unrealengine.com/t/umg-mouse-screen-position-problem/14933.md?page=1)
