Camera shake code bugs in Python?

The story here is I wanted to convert my code to Python to check out how long it would be if it weren’t blocks (turned out to be ~14000) and I noticed that there just happened to be 8 bugs/problems out of nowhere, I didn’t change anything in the code. The problems were all on the camera shake lines, which was weird because they were all the default code Makecode gives. Please help! I can’t convert it back to Blocks or to JavaScript.

1 Like

That’s so odd! Can you send a screenshot of the error it’s giving you? :slightly_frowning_face:
Often times converting between languages can cause bugs (which is why you should always save a copy of your game before trying it!) but I haven’t seen one that’s specific to that block.

These are the screenshots, I also tried deleting them but it would still stay stuck in Python despite having 0 problems.

1 Like

Apparently it hppanes to every block that belongd in the Scene blocks.

2 Likes

I think you can use project history to get back to blocks if necessary. Can you share your project? This isn’t happening to my Scene blocks, so it might be an issue with something else, idk. Maybe one of the extensions you’re using is having a weird name conflict in python but not in JavaScript.

2 Likes

Oh yep, version history changes it back, thank you so much!

1 Like

Here’s a copy of it that has the same bug, I left 2 center camera at blocks in the code, the others I removed.