Deleting parts of a sprite

I want to know, is it possible to make a part of a sprite get deleted, like each pixel of the sprite touching the lasers is just gone


ignore my trash sheriff

I think it might be possible BC once i see people make MINIMAPS and like half the map disappears in the border.. maybe i think its possible

Make the ground of individual sprite tiles instead. Put all of the tiles in a group called “Tiles”.
Than cast a ray, and if the ray hit that group use delete “Tiles”.

Sprite Masking is what you want. Look into the sprite masking extension and some of the forum threads about using it.

no i want the pixels off the player to get deleted not the ground

ig ill try (extra letters)