Discuss Scratch

iiAmericanLaw
Scratcher
16 posts

How do I copy scripts from one project to another?

I need help copying a script to another project. Please let me know how, thanks!
deck26
Scratcher
1000+ posts

How do I copy scripts from one project to another?

Copy to your backpack, open the second project, copy from the backpack.

Just have to careful with variables though, as far as I know Scratch 3 still takes the view that any variables it doesn't recognise should be created as local ones so if it matters that variables are global you need to create them first. That's less work than creating a new varialbe afterwards and changing all the references unless there are very few.
iiAmericanLaw
Scratcher
16 posts

How do I copy scripts from one project to another?

deck26 wrote:

Copy to your backpack, open the second project, copy from the backpack.

Just have to careful with variables though, as far as I know Scratch 3 still takes the view that any variables it doesn't recognise should be created as local ones so if it matters that variables are global you need to create them first. That's less work than creating a new varialbe afterwards and changing all the references unless there are very few.
Thank you so much!
OMS03
Scratcher
1 post

How do I copy scripts from one project to another?

Hi there I am so confused about how you copy the code from one project to another one. Can you send me a simplified version of your explanation???
TR_Borg
Scratcher
82 posts

How do I copy scripts from one project to another?

OMS03 wrote:

Hi there I am so confused about how you copy the code from one project to another one. Can you send me a simplified version of your explanation???

Open your “Backpack” at the bottom of the code screen by clicking the word “Backpack” and drag the script into it. A window pops up where you must give the script a name (or accept the default name), then click OK.

Go to your other project, click the word “Backpack” and you should see your saved script. Drag the script out into the code area for the sprite that you want to run it. (You can also delete the script in your Backpack when you don't want it any more with a right click.)

Powered by DjangoBB