[open] Recentre the mouse in each loop iteration
I have a custom form, generated with a Python inline script, that runs as the main part of my loop. In each iteration, the mouse position does not change. I would like it to reset to the centre of the screen (when in fullscreen mode) on each iteration.
I've tried this (where
mouse has been imported):
myMouse = mouse(exp) myMouse.set_pos((0,0))
...I also tried
myMouse.set_pos(pos=(exp.get("width")/2, exp.get("height")/2), per the answer to this question.
Neither of them worked (using the Legacy backend)... Any ideas?