PennController for IBEX › Forums › Support › Keeping track of participant accuracy › Reply To: Keeping track of participant accuracy
August 10, 2020 at 3:54 pm
#5967
Keymaster
Hi,
There is no selected test for Key elements, what you are looking for is test.pressed
Example:
newTrial(
newKey("test", "ArrowLeft", "ArrowRight")
.wait()
.test.pressed( "ArrowLeft" )
.success( newText("Left").print() )
.failure( newText("Right").print() )
,
newButton().wait()
)
Jeremy