Microsoft MakeCode

One sprite effect has permanent effect on sprite image

We noticed earlier that the disintegration effect was damaging a sprite’s image. After it’s turned off with clear effects it leave a permanent effect on the sprite. I wrote a quick program to check all 17 effects and it’s the only one that behaves in this way, the rest are transient effects. Is this intentional? If so, what’s the recommended way to restore the image and is there a way to help the programmer distinguish between transient and permanent effects?

arcade-Sprite-Effects-v1-simulator-video-run-1

Code is as you’d expect: