URL of experiment: aim [PsychoPy]
Use condition = 100 for a practice version.
Description of the problem: During the actual experiment the cursor I present is at a position rotated around [0,0] by 30 degrees. People adapt their movements, but this only makes sense if they can’t see the mouse cursors. I’ve found that when people switch between their browser and other software (or even just click the windows button and go back to the psychojs task), the cursor that was previously made invisible has reappeared again.
Adding some JS before each trial to hide the cursor (again) doesn’t seem to work (using PsychoJS method or core JS), but sometimes going to a different browser tab or other software and back actually does make the cursor disappear again.
This made me think that maybe window.focus() would help, but it doesn’t.
So far, this happens in Chrome and Edge, but not Firefox (Windows 10).
Is there some way to force a reappearing cursor to be invisible again?