Game Lab random error

Good Morning, I have a student who, when I am using game lab to code, I have an if statement that if it is true, it switches a sprite’s animation. After I run the code a few times, it then shows a red square telling me that the code(sprite.setAnimation(label)) isn’t a function, and my code doesn’t run. But, if I put in a space and then press backspace, it resolves the problem until it tells me again. I’m pretty sure this is a bug, but it could just be that I’m not coding it right. Thank You

That sounds like something I’d like to look closer at as I’m curious as to what is happening. If you could ask your student to click on the share button (if you have sharing enabled) and send you a link, we’d be happy to look at it and see if we can see what is going on there.

thanks!

Mike