Reply To: Setting mouse cursor location

PennController for IBEX Forums Support Setting mouse cursor location Reply To: Setting mouse cursor location

#10969
Jeremy
Keymaster

Hi,

It’s impossible to control the cursor’s location in javascript, for security reasons. What you can do is print a button at the center of the page (newButton("Next").print("center at 50vw", "middle at 50vh").wait()) and only start the trial when it’s clicked: this way when the trial starts the participant’s cursor is centered on the page

Jeremy