PennController for IBEX › Forums › Support › Mouse cursor in the center of the screen › Reply To: Mouse cursor in the center of the screen
November 24, 2020 at 11:56 am
#6380
Jeremy
Keymaster
Hi Nicoletta,
You cannot control the mouse cursor for security reasons, but what you can do is print a button at the center of the screen that needs to be clicked before proceeding:
newButton("Go").print("center at 50vw", "middle at 50vh").wait().remove()
Cross-referencing this topic: Centering mouse cursor at the start of the trial
Jeremy