Breaking Loops on Pavlovia

URL of experiment:

Description of the problem: Hi, I have a problem with the loop in my experiment. It runs smoothly in the builder, but on Pavlovia it doesn´t do breaks after 60 trails. (I have 3x60 and it should all be randomized).
My code (which works in the builder) is shown in the picture.

I hope that someone can help me. Thank you in advance!

Sorry, but loopName.thisN doesn’t work online (yet).

You should be able to change that code to Both and change ExperimentLoop to snapshot on the JS side.

Thank you so much! That soved it.