Hello,
I need to present some stimuli twice consecutively throughout my experiment. For instance, there are two groups of stimuli (group A and group B). I need to write a code to show twice consecutively if the stimulus comes from group A. I had trouble writing this code. I know that I need to indicate that after shuffling all images, if stimulus in group A, present that stimulus twice but I don’t know how to write it. Is there anyone who can help me?
Thank you
Öykü
You could create a loop around the routine with the stimulus in, and in a routine before the loop set the value of a Variable to be 2 if the stimulus is from group A or 1 if it’s from group B. That way, you can set the number of repeats for the loop to be the value of that variable.