Game Not Working? Orange spinning wheel

Hi all,
A student of mine create a pretty simple game. The code looks correct to me, but MakeCode Arcade keeps saying there is an error. It won’t even let us publish the project with the share button. The simulator just keeps showing an orange spinning wheel on the screen. Weirdly, we rebuilt the game in a new project using the EXACT same code and it worked just fine.

Any advice on what might have caused the problem?

arcade-Not-Working

This is a MakeCode bug; thanks for reporting it!

It looks like you created a sprite kind with the name “catch”, which is a JavaScript keyword and caused the JavaScript code we create to be invalid. The bug is that our blocks to JS compiler should have caught that and either changed the name or not allowed it.

Here’s the issue on GitHub: https://github.com/microsoft/pxt-arcade/issues/3363

Thank you so much! This helps a lot!