GetMousePositionOnViewport in Editor Utility Widget

Hey everyone! It’s been multiple days that i try to draw a line from MousePosition in a Editor Utility Widget. With the window in fullscreen there is no problem, but when i change the size of the window there’s a space from MouseCursor & the drawed line. Is there a way to have this working as it should ?

Thanks

1 Like

Since the time, i found the solution. For those who want it there it is : use the node “Get Cached Geometry” → “Absolute to Local” then for the input “Absolute Coordinate” you use the Return Value of the Get Mouse Position on Viewport or Platform node

2 Likes