In my experiment, I have two loops named:
trials_Main will be run around 70 to 77 times. In this loop, I want to introduce a break when half of the total times of the loop (around the completion of 35 trials) has been completed. I want to present a text component saying “2 minutes Break” after completing half of the main trials with ‘Press any key to continue’ as a response.
I am unable to figure out where I will write the code in the builder view of code component. I tried to do this to introduce a count variable and give start time condition into the text component. It didn’t work.
I know there is some way to pause a loop but I didn’t find out.
Could anyone have experienced the same problem in the past? Or anyone can add the link with the same problems’ answer.
OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x):