GetMouse() for dockable widget plugins?

I want to be able to get the mouse position when a user’s mouse is in a dockable widget plugin, but GetMouse() does not work with widgets. Is it possible to capture mouse input and movement in a plugin widget?

The only way you can get the position of the mouse in a Dock Widget Plugin is by the DockWidgetPluginGui:GetRelativeMousePosition method, which returns a Vector2.