I have an enemy object with different animations like "idle", "attack" etc. Now i gave the attack animation an imagepoint and set up events, player gets damaged on overlapping this imagepoint. So far it works fine. But now, when the enemy-animation changes back to idle, it seems the imagepoint of the attack animation is still working and therefore causing damage, even when idle.
Can somebody explain how imagepoints really work? Is it intended to work like this?
Thx in advance!