[solved] loop within a loop
Hi,
I am new to open sesame and I'm having some issues with creating a loop within a loop.
I would like to present trials consisting of one target scene, followed by a number of distractor scenes from the same semantic category as the target image. The way I thought I would do this is to put the target categories in a loop and then create a subloop so that I can call the specific distractors belonging to the target category, in random order.
When creating the loop, I chose 'loop' as the item to add to the loop (so that this sub-loop could be used to present the distractors), but once a loop has been created it seems impossible to add other items like the sequence to it.
What is the correct way to do this?
I hope this is clear..! Thanks for your help.
Cheers,
Jorien
Comments
Hi Dorien,
I think you should wrap your loop items around sequence items, like so:
For more information about loops and sequences, please see:
An example experiment can be downloaded here (save with the extension '.opensesame' and open as normally):
Best,
Lotje
Did you like my answer? Feel free to

Thanks for your quick reply! This is exactly what I wanted to do, but somehow I got a little lost in the hierarchy... It works now!