Copy and Paste Code

id: 506407

category: Suggestions

posts: 12

HorsegirlTG HorsegirlTG loading
Hi! I have been doing a school project all about Scratch, and it got me thinking of ways it could be improved.
Although Scratch is a great learning platform, that is easy to access and fun to use, I do get slightly tired when working on games. One of these reasons is that I spend a lot of time doing the same code for numerous sprites. I think that it would be a lot easier if you could copy and paste code into different characters, backdrops and maybe even projects. A bit like how you can duplicate code within a sprite. Is this possible? Thank you
you see at the bottom where it says "backpack'? Click that and then drag your code into it until it turns blue. When you want to use your code, drag it out of the backpack.
KangaCoder KangaCoder loading
You actually are able to do that. If you right-click the code, and press “copy”, you're able to transfer it to another sprite. You can transfer it to another project by clicking “backpack” at the bottom of your screen, and dragging the code you want there.
TheClaw7654 TheClaw7654 loading
No support. Because you can already do that.
if you're doing it inside a single project, drag the bit of code into the other sprite or background. If it's on multiple projects, use the backpack.
HorsegirlTG HorsegirlTG loading
Hi everyone! Thanks for answering, I don’t use a computer so I don’t know! I should have made it clearer, that was an idea for mobile. But if you do know how to do this pls let me know

wangat wrote:

You actually are able to do that. If you right-click the code, and press “copy”, you're able to transfer it to another sprite. You can transfer it to another project by clicking “backpack” at the bottom of your screen, and dragging the code you want there.
another case of people forgetting that they use an extension
HorsegirlTG HorsegirlTG loading

airplanedodge wrote:

wangat wrote:

You actually are able to do that. If you right-click the code, and press “copy”, you're able to transfer it to another sprite. You can transfer it to another project by clicking “backpack” at the bottom of your screen, and dragging the code you want there.
another case of people forgetting that they use an extension
I’m not on a computer !
Watersloths Watersloths loading

KangaCoder wrote:

You actually are able to do that. If you right-click the code, and press “copy”, you're able to transfer it to another sprite. You can transfer it to another project by clicking “backpack” at the bottom of your screen, and dragging the code you want there.


I tried this and It worked I was not sure how to do it until now!
Watersloths Watersloths loading
To transfer code into another project click and drag it into your backpack at the bottom of the Code screen.
-stxllxr -stxllxr loading
This is a duplicate
kinda a waste of a 120 second wait but whatever
cosmosaura cosmosaura loading

-stxllxr wrote:

This is a duplicate
kinda a waste of a 120 second wait but whatever
Thanks for the link! It does look like this is a duplicate topic so I'll close it to keep the conversation all in one place. Please use the existing topic in the link above.