I have the following situation:
My game has an object that is a basket of basketball, this basket is created every 5 seconds, but when the ball falls in the basket, it triggers an animation that moves the basket, but when there are several baskets on the screen, all are animated as well.
I would like the animation to be executed only in the basket that there was a collision with the ball.
Thank you.