Pavlovia not working with mouse setPos

Hi to all,

I am trying to pilot online the posner task where I added a code component that would set the mouse position back in the centre after each trial.

Locally it works, but when I pilot it online I get this error:

TypeError: resp.setPos is not a function. (In 'resp.setPos({"newPos": [0, 0]})', 'resp.setPos' is undefined)

This is the link to my experiment: Nicoletta / Posner Task · GitLab

Could anyone help?

Thank you.


1 Like