while loop

Is it possible to create a while loop using superlab?

I’d like to present images to the participant until the participant responds correctly 6 times, at which point it would go on to the next block.

In the Block Editor, under the tab Where to Run, there is an option: Present the trials in this block. If you look in the pull down menu, you will see the option “While the condition expression is true” and “While the condition expression is false”. You will use one of these to create your “while loop”. You will also need to create a code, and feedback to tag the trials. Below is a link to an experiment that uses all these features to repeat incorrect responses. I know it’s not exactly what you are trying to do, but it should help with the concepts.