i have 1 sprite and copied it 10 times in the layout. for example imagine 10 copied squares. now i touch 3 squares and these 3 squares change animation to a smaller square. everything is okay here. the animation affects only the squares i touched but later when an fuction is enabled. i want these 3 squares i touched to change animation. here is the problem. all other copied dots gets the animation after function. any solution ?
Maybe this would work:
On function "changedTouched"
Square is playing animation "small": Action: Square play animation "newanimation"
Do you have a capx you can share?
Develop games in your browser. Powerful, performant & highly capable.
Create Square instance variable: IS_TOUCHED = 0
On Square is Touched | set Square.IS_TOUCHED = 1
Square.IS_TOUCHED = 1 | [Your action]
Thank you so much. both of you