No ghost effect, no coding, all in one sprite, a transparent thingy. This would be great for shadows, but you can't reshape it, so . . . its also possible to get a similar effect if you use the gradient tool with a color then the red slash but this is just one color.