Thanks Julian, something to digest!
Thanks for all your help guys. My script comes along nicely.
I'm coding a "glue tool" script. I got the intercepting and mouse cursor loading
working fine.
But as you can see in my GIF, after terminating the script, a yellow arrow cursor appears, since I'm setting the default cursor. Only when moving the mouse, the correct pencil cursor appears.
Is there a way to set it to the cursor that was used BEFORE the script was executed?
Or will I need to make a 1 pixel movement back and forth to force update the cursor?