How can I get the pointer's absolute position?
I am doing an inventory system, and it's almost done, the one problem is whenever I hover my mouse inside a button/item, the info doesn't pop out at the right location. Why is that? I've used:
"Get Mouse Position then make Vector 2D" and "GetScreenSpacePosition to AbsoluteToLocal"
this is what happens for the both of them:
but it doesn't get the right location of my mouse. I'm using 1280 x 720 resolution. Hopefully, I can get an answer to flexible resolutions, window mode and full screen mode.
asked Jan 10 '16 at 04:49 AM in Blueprint Scripting
Usually you can't get cursor position in world space, because your screen is 2D and world is 3D. You can get cursor position on certain plane, but it is 3rd axis.
answered Jan 10 '16 at 11:18 AM
I've got the answer to this. I just used "Get Mouse Position scaled by DPI" then convert it to vector 2D then viola!
answered Jan 11 '16 at 05:53 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here