I am trying to use mouse-tracking online. My code works well enough that I collect [x,y] coordinates and a tracking timestamp for each trial. However, it seems that I am collecting mouse position and timing data every 50ms, when I think it should be closer to 16-17ms based on my ~58 framerate.
This is the code I am using to log both time and position in each frame:
So, a couple of questions:
- Does anyone know why I may be having this issue?
- What exactly does the “Sync timing with screen refresh” option for my mouse element do? Does this apply to online experiment as well?
Thanks in advance!