I apologize. I should have paid more attention to what I was writing.
I have now created a family instance variable called 'FamilyOnhit' and changed it so that every monster has an event that triggers on 'FamilyOnhit' = 1 rather than using their own individual instance variable called 'Onhit'.
When a bullet collides with the Enemies family it sets FamilyOnhit to 1 and affects every monster not just the one that was hit. How would I change the code to have it only trigger an event for the specific monster that was hit? How would I subtract from the 'hp' instance variable of a sprite called 'mushroom' (which is part of the Enemies family) using the an event regarding the bullet colliding with the Enemies family?
If I code:
Bullet on collision with (family)Enemies: Subtract 1 from mushroom.hp
It will trigger that event when the bullet collides with any sprite that belongs to the Enemies family.