set cursor position relative to JSUI

AlexHarker's icon

I'm writing a JSUI that hides the cursor whilst the user is dragging.

When I show the cursor I'd like to place it in a known location in relation to the JSUI object, but I can't seem to figure out how to do this.

Anyone know?

Thanks

Alex