I do not know if I understood your needs, but if the issue is collision when change the frame, you can resolve this by setting the boundaries of the collision polygon.
Open the "Edit image" window and click "Set collision polygon", then click the right mouse button on one of the points and choose "Guess polygon shape" and make adjustments as necessary.
Its not that hrm.
okay so now i have one object and two sprites on that object. Now i need some how to test which sprite is active. So when the enemy collides with the hero object i need the level to restart, now that's easy. But adding a collision to the hero with sword is not working i have tried.
Sorry cannot think of anyway to make this clearer.
adding the event "'is animation playing" to see if the sword hero is active then adding a collision event. Then destroy enemy sprite. but this is not working.