Randomizing image without repeating in blocks?

Is the only difference a question in a text component?

If so I would add a loop counter in Begin Experiment (loopIdx=0) add one to it each loop (loopIdx+=1)

Then change the text component when loopIdx=10

text_1.text=‘new question ‘

Previously I would have used .thisN to count the loops but I’ve stopped using it because it has stopped working online