Moving code to another project

Hello! I am trying to transfer some code from one of my old projects to my new one without having to recreate it. Does anyone know how to do that? Thank you!

Hi! Welcome to the forum.

In the File menu, there is an "Export blocks" option. It opens a window in which you can choose which blocks to export. (Be sure to include the blocks that those blocks call!) Then you can just drag the resulting file into the other project.

Beyond Brian's comment, wich allows you to export blocks, you can export also "scripts" (block stacks).
[Shift key] and right click shows you and extra option "download script".
downloadScript
And then, this xml file allows you to export that script to any project.

Joan

1 Like