I would like to hide the mouse during my experiment and I also need to reset the position of the mouse in certain trials. I read that
mouse.setPos() is actually not available in PsychoJS.
Would it be possible to implement something like a Pointer/Mouse lock by adding custom JS to my experiment? Something like what is described here:
Here is a demo from the firefox API (https://mdn.github.io/dom-examples/pointer-lock/).