Hello,
I am trying to do some feedback after a practice item. I found the following on the documentation, and it works in my script:
newKey("forj", "fj")
.wait()
,
getKey("forj")
.test.pressed("f")
.success( newText("success", "You're right!").print() )
.failure( newText("failure", "You're wrong, 0.999... and 1 do refer to the same number").print() )
,
However, I’d like the keys to be 1 and 2 instead (ABX task, so numeric keys make more sense). But when I change ‘fj’ to ’12’, and change it in test.pressed (.test.pressed(‘1’)), it stops working. Any idea why? Is it something with numeric keys?
Thanks!