Experiment running in builder but stops after 1 trial in pavlovia

I found your helpful thread and miraculously implemented it haha it worked! The sound feedback was causing problems because I gave it a duration, so I am now using an mp3 file.

I then saw some other threads on how to do breaks for online experiments and I got it to work!

Auto–> JS
if trialCount==160 or trialCount==320 or trialCount==480 :
continueRoutine = True
else:
continueRoutine = False

with trialCount=0 at Begin Experiment and trialCount=trialCount+1 at Begin Routine

This is inside the loop, but I haven’t run into any problems yet.Thank you so much for your help on this thread and many others!

1 Like