Copy and Paste Code
id: 506407
category: Suggestions
posts: 12
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
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
Queer_Royalty
loading
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
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
loading
No support. Because you can already do that.
Tronche2Cake
loading
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
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
airplanedodge
loading
another case of people forgetting that they use an extension 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.
HorsegirlTG
loading
I’m not on a computer !another case of people forgetting that they use an extension 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.
Watersloths
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.
I tried this and It worked I was not sure how to do it until now!
Watersloths
loading
To transfer code into another project click and drag it into your backpack at the bottom of the Code screen.
cosmosaura
loading
duplicateThanks 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. This is a
kinda a waste of a 120 second wait but whatever