I’m trying to get the mouse cursor to return to the centre of the screen after each loop in my online experiment. Offline / locally, I’ve used the following in a (Builder) code component to achieve this:
mouse = event.Mouse()
but this doesn’t seem to work online. I get the error:
TypeError: Cannot read property ‘Mouse’ of undefined
Quick follow up since this conversation is over a year old - the setPos Command (or any other comand to manipulate the position of the mouse) is still not possible in psychoJS for online experiments, or?
Actually, as I tried to get across above, I would be surprised if this is ever possible because browsers making that possible will be a disaster for malicious websites that want you to click on certain things.