You can have the instances already laid out with a variable id for the frame to display. Then on button pressed you say : sprite set animation to relevant anim, this will change all the instances. Then set frame to sprite.id. You will need extra logic to make the irrelevant ones invisible, something like if sprite.id greater than animationframecount then set invisible.