For anyone who wants an example of how this should work, here is what I did.
I wanted to set the mouse position a little to the left of a button that is being used to select an option during a dialogue sequence.
The mouse only appears when a dialogue button is created, so setting the mouse position to be close (but not overlapping the button) was something that felt nice to implement.
First I stored the widget’s geometry on tick like this:
Next, I set the position of the mouse by offsetting the position I got from the top left position of the widget:
That should be a little bit more info to help others like myself get started.