"Glitchy" Sprites

Hi there! One of my students is trying to make a game where her character jumps up onto clouds. We have the code working the way she wants but the sprites are “glitching”. They look like they are redrawing themselves (as they would without a background) but without the whole trail of previous drawings. I’ll attach her code here, can anyone give us any pointers?

Hello,

It looks like it’s not the code itself that is a problem, but there is something weird happening in the animation of the background. If you go to the animation for the background, if you hover over the the icon you can see that you can duplicate the frame. Click duplicate and then delete the original background frame and that should solve your problem. It appears that there’s two frames in the one, original background frame. So nothing wrong with the code, just something weird happening with frames.

Hope this helps!