PennController for IBEX › Forums › Support › Running into JS error with MouseTracker when trials have different names › Reply To: Running into JS error with MouseTracker when trials have different names
September 19, 2022 at 5:49 pm
#8422
Jeremy
Keymaster
Hi,
Thank you for identifying this nasty bug! I’ll make sure it doesn’t happen in the next version of PennController. In the meantime, you should create the MouseTracker element at the beginning of your trial (newMouseTacker
) and only start it later, possibly after end()
, using getMouseTracker
to refer back to it
Jeremy