.started function does not work in Pavlovia. I wrote the code component exprecog_1.started=False but I get the error .started undefined.
What can I use instead to close the experiment when a certain condition is met?
Here is my code:
triacount=triacount+1
if key_resp_12.corr:
number_correct=number_correct+1;
if key_resp_13.corr:
num_corrt=num_corrt+1;
if (num_corrt >=2) and (number_correct >=2):
testrecog.finished=True
if triacount==1:
number_correct=0;
num_corrt=0
elif triacount==4:
number_correct=0;
num_corrt=0
elif triacount==6:
number_correct=0;
num_corrt=0
testrecog.finished=True
exprecog_1.started=False