Fairly simple question but something that has stumped me regardless. Here's the situation:
The sprites for the test enemies I recently placed in my game are tied to an object called "hitbox_test_enemy", and at the start of each layout they are spawned like so:
Doing this creates a "sprite_test_enemy" at the position of each hitbox and sets that sprite to the position of the hitbox that spawned it. However, I don't know how to make the different "sprite_test_enemy"s animate independently. Whenever one animation is set to play on one, it affects all of them. How do I make it so that my "set animation" events (such as when the enemy is hit, dies etc.) only affects the relevant one and not all of them?