On collision with a layer delete only the block you touch

oh damn my bad. I was using phaser 3 but then went back on a backup file of the game where i still had phaser 2.6.2 and didnt change it again. I will get phaser 3 and try again and tell you later if it works or not.

And yes im using the arcade physics just.

Edit: Actually i just saw i would have to rewrite most of the code and since I cant find a good documentation about how phaser 3 works I would rather keep my project on phaser 2.6.2 sorry again for the confusion. So can you help me with phaser 2.6.2 with arcade physics or should I open a new topic for phaser 2?