PennController for IBEX › Forums › Support › problems with timeout › Reply To: problems with timeout
May 8, 2023 at 6:00 am
#10519
Jeremy
Keymaster
Hi,
Use .log("first")
instead of just .log()
so you can capture keypresses that do not validate a wait
command on the Key element:
newKey("answerTarget", "10") .log("first") .callback(getTimer("hurry").stop()) , getTimer("hurry").wait() , getKey("answerTarget") .test.pressed() .success(getText("target").remove()) .failure(getText("target").remove()) // removed this .log() as to not overwrite the first one ,
Jeremy