I’m literally sitting in class write now writing this post after spending 10 minutes trying to figure out why this block of code isn’t working as intended for this student:
The student is basically trying to mimic the Exemplary Interactive Card where they shake the mouse and have one image disappear and another image appear. When we run the code, the rm sprite will appear, but the present sprite won’t disappear. I tried a bunch of things like checking his sprites, condensing the if-statements into just 1 if statement that does both actions, and I tried making a completely invisible sprite and using setAnimation rather than .visible - none of them are making this second sprite disappear. I also added a watch to present.visible and can see that it changes to false at the correct moment, but the present doesn’t disappear from the screen.
Am I missing something? Is this a bug? Any help is appreciated.