UMG - Mouse screen position problem

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

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 )

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)

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

Thx bro! You saved my time.

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.