# Overlapping sprites not working :(

**URL:** <https://forum.makecode.com/t/overlapping-sprites-not-working/31534>\
**Category:** Help\
**Created:** [November 5, 2024, 10:02pm UTC](https://forum.makecode.com/t/overlapping-sprites-not-working/31534 "2024-11-05T22:02:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![goose](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goose/32/17817_2.png) [@goose](https://forum.makecode.com/u/goose)\
**Post date:** [November 5, 2024, 10:02pm UTC](https://forum.makecode.com/t/overlapping-sprites-not-working/31534/1 "2024-11-05T22:02:29Z")

</div>

I was trying out a code, but when I placed the code for when ‘on sprite of kind overlaps other sprite of kind’ and tested it out, I figured out that it wasn’t working how it was supposed to. Is there anyway I could fix it?  
Code: [https://arcade.makecode.com/S51126-13355-65440-59010](https://arcade.makecode.com/S51126-13355-65440-59010)  
(Code is at the bottom of the page)  
Thanks!

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [November 6, 2024, 2:22pm UTC](https://forum.makecode.com/t/overlapping-sprites-not-working/31534/2 "2024-11-06T14:22:42Z")

</div>

“Silvia” is not a used sprite type. Right after you make that sprite, you change the type from Silvia to Player, which is why the ones that are “sprite kind (player) overlaps…” work and the ones that are “sprite kind (Silvia)…” don’t.

 ![IMG_6559](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/9/1/916d22d3c20eceaa2cdc27a8ff3856c0dd9afd93.jpeg)

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [November 6, 2024, 3:14pm UTC](https://forum.makecode.com/t/overlapping-sprites-not-working/31534/3 "2024-11-06T15:14:17Z")

</div>

Are the sprites the proper kind you wanted them to? Are they switched?
