# Attack Issue

**URL:** <https://forum.makecode.com/t/attack-issue/34492>\
**Category:** Help\
**Created:** [March 12, 2025, 1:42am UTC](https://forum.makecode.com/t/attack-issue/34492 "2025-03-12T01:42:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nave](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nave/32/20447_2.png) [@Nave](https://forum.makecode.com/u/Nave)\
**Post date:** [March 12, 2025, 1:42am UTC](https://forum.makecode.com/t/attack-issue/34492/1 "2025-03-12T01:42:14Z")

</div>

I’m still working on this wizard themed fighting game, and I just can’t fix this dang glitch. I’m coding the collision detection for projectiles, and the way I’ve coded it [if sprite of kind player 1 overlaps with othersprite of kind projectile, and if not player 1 overlaps with projectile 1] leads to the game having a heart attack if bullets overlap more than one player or if multiple bullets overlap the same player. I think I need to fundamentally recode the projectile system. Any ideas?

> **[Wizard Wars](https://arcade.makecode.com/S57965-12386-15074-98639)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
