hit and destroy enemy like mario style

heyy. thank you so much. this logic works pretty well. In addition to what you sent, I used get component bounds instead of get player location because I wanted to compare the head and the foot. After that, I calculated the invulnerability. This prevented my character from hitting an enemy and then bouncing while having the grow power up, from instantly hitting the enemy again and killing him. When my character gets the grow powerup, if it hits from the side, it does not take damage for 3 seconds. Everything is working fine now. çok sağ ol hocam :smiley: