I have 50 instances and I need to get some instances and change the frame of them one by one. I am trying to do this using the UID number but it is not working.
My pseudo-code:
Repeat numTimes
> Pick all Sprite
> For each Sprite order by Sprite.UID ascending
> Sprite AnimationFrame > 0 : Sprite Set AnimationFrame = Sprite.AnimationFrame+1[/code:32k9refy]
try using IID - its the numeration of objects that are part of same type. while uid - is numeration of objects all placed in screen (if you have other objects placed your objects you pick wold not have a incremental order like from 1,2,3,4,5,6,7,8,9 but more like sprite uid 1,2,6,12,13,14, etc)