How to get mouse position in screen space and not relative to widget?
I'm trying to get the mouse position in screen space and NOT in the relative space of the current widget and can't figure out how to do this.
Any suggestions how I can get the correct mouse position based on the current size of my play window?
Thanks and best regards, Daniel
asked Nov 24 '17 at 07:31 PM in Blueprint Scripting
I would just get this really awesome plugin that adds a bunch of blueprint nodes including get mouse position on screen and get mouse position percentage on screen.
answered Nov 25 '17 at 04:54 AM
you can use bool APlayerController::GetMousePosition(float& LocationX, float& LocationY) const.
answered Dec 16 '18 at 10:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here