Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Reset mouse position to center in OSWeb

edited August 2020 in OSWeb

Hi all,

Several people have asked me whether it's possible to reset the position of the mouse cursor to the center in OSWeb. This is not possible, because for security reasons you cannot change the mouse-cursor position through JavaScript. (Imagine the consequences if this were possible!)

As a workaround, you can have participants click on the center of the screen, and only continue the experiment when they've clicked sufficiently close to the center. I attached an example script below. The downside is that this disrupts the flow of the experiment, so use with caution!

Cheers,

Sebastiaan


Comments

Sign In or Register to comment.