Does anybody know how you loop until something happens?

So a assignment I have for school is to make a quiz, and my teacher asked me if we could work together to find a way to display questions, but not it they have been used before. This is my progress:

What I need is a way for this to loop until the "else" happens.

If you've ever used Scratch, what I want to do is kind of like a "repeat until" block.

Does anybody have a solution?

Aia file:
used_question_quiz_game_test.aia (2.4 KB)

How to pick a random item from a list without picking duplicates?

Taifun

Thank you!