Converting Mouse to Custom Viewport

Is there a way to get “Image” position off a widget :o?