How to scale the mouse position after resolution change?

Hello all,
I’m currently working on my graphics menu, widget, in my game and was putting in several different resolutions for the player to choose from. I had been using 1920x1080 thus far. The cursor itself and mouse position line up with the menus great. After I change to another resolution the mouse cursor no longer seems to be were the actual mouse location is on screen. That is if I go a bit to the right of a menu option then that menu option will highlight. I’ve seen other people posting problems regarding this but haven’t found a solution that works yet. Or I’m just going about it all wrong. Below is how i’ve been trying to go about fixing the problem but all it does is make the cursor continue to move toward one of the corners of the screen.

I’ve tried it with just starting with ‘Get mouse position’ then tried it with ‘get mouse position scaled by DPI’ and both seem to have the same result. Not sure what I’m missing or doing wrong here.

Apprecitat any help. Thanks

I have this same question. I’ve been trying too solve this simple problem for far too long.