I have a student who wants to her game to have an animation be destroyed when it’s overlapped; however, we can’t figure out how to get the animation into the overlap block. https://arcade.makecode.com/S98288-66415-84820-06202
looking at the code, it seems like they are trying to use a tile overlap block to overlap with a sprite. this overlap block is checking to see if a sprite of kind player is overlapping with a tile that has the chest image, not a sprite.
to overlap with the chest, you can use a regular sprite overlap! they already gave the chest sprite its own unique kind (“reward”), so they’re halfway there. here’s what that code should look like, make sure to select the correct sprite kind in the dropdowns!