I am building an experiment that calculates reaction times of different sorts of images. I need a joystick to determine when each routine ends, with a 50% threshold in either y-axis direction (toward or away from participant). I have included below a snapshot of the custom code I wrote and included in every trial:
In the Joystick component settings, I have set end routine on: “valid click”, and left Allowed Buttons $ blank in the Advanced tab.
Unfortunately this does not accomplish anything. Any thoughts or suggestions? Thank you!