>
> > I can't be any more specific!
> >
> > On start of layout - add another sub-event:
> > System -> For Each (ordered)
> > Object: YourSprite
> > Expression: random(1)
> > Add this action: YourSprite set frame to: loopindex
> >
> it work fine if the sprite are already in the layout
> but if i destroy them and recreate them it not work <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">
>
Instead of the "on start layout" condition, use your sprite's "on create" condition.
i did spent all the night trying to done it without any success
can you take a look on my capx ? https://ufile.io/2cf4q
thank you