This seems to be a solution to the loop problem: Loop.finished=true No longer working
w/r/t the other thing, forget setAutoDraw, I think I figured out what’s going on with the statuses. Try setting the condition for TP_KeyRespGreen to this:
$TP_Stim.status == PsychoJS.Status.FINISHED
and for TP_KeyRespOrange:
$TP_KeyRespGreen.status == PsychoJS.Status.FINISHED
I think that will solve the problem.