How to make projectile destroy tile?

I want to destroy the cracked stone tile (change to tile blank and remove wall) when the projectile hits it. i have tried but it doesnt work. Please help me. https://arcade.makecode.com/S11604-38309-30247-95908

2 Likes

You should use the (on sprite of kind () hits wall at ())

2 Likes

I fixed it.

You don’t need all that complicated code when you shoot it, just a “when projectile hits wall at location” block.

2 Likes