Launching Decoded Blocks Errors Out

if you encode a script, decode it, then launch it, the script errors out.

Bouncing Circles script pic

That's not an issue with launch or decode, it's an "issue" with metaprogramming itself.

When you modify a script with metaprogramming, it loses it's context, so blocks that deal with anything related to sprites, like movement blocks, will throw an error, because they don't know what sprite to move.

To fix this, you can just do something like

This just sets the context of the decoded script to the script that ran the block, which does know what sprite to move.

So that's why my script was throwing an error.