Hi.
How would you do this?
You must destroy objects with "Default" (green objects) animation that clash with the object with animation "Animation2" (red object).
This means that the red object can not die.
Only the green object can die.
The green object can only die when colliding with the red object.
You can not use two different objects.
I can not do it.
https://www.dropbox.com/s/y45znh5ju280nrg/testCollision.capx?dl=0
Develop games in your browser. Powerful, performant & highly capable.
You can put sprite in family an fake second object..
then use something like:
Sprite on collision with Family
if Sprite animation "Red" is playing----Destroy Family