Dont repeat images in random

i recently made a simple logic where images are displayed randomly until stopped , The problem is some images are repeated to often ,how to stop images from repetition in random loop !!!

Hi! How many images dou you have to show randomly?
You could use a variable structure, adding a child for each image shown with the number of the animation.
For next images, check the structure in case the image has already appeared, and recalculate the random number again in a positive case.

1 Like
Set variable random to Current Animation
While variable random == current animation {
  Set variable random to Random(2)
Set current animation to Variable(random)
1 Like