Discuss Scratch

HorsegirlTG
Scratcher
33 posts

Copy and Paste Code

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

✎︎Nerdy
✎︎Horsey
♡︎Happy to help ♡︎
Queer_Royalty
Scratcher
1000+ posts

Copy and Paste Code

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.

i would like to sincerely apologize for the above post.



i am stupid, weird, worthless, and in general a bad person but at least i am decent at platformers.
KangaCoder
Scratcher
1000+ posts

Copy and Paste Code

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.

don't feed the trolls. feed yourself pizza cupcakez .[1] [2] [3] [4]









KangaCoder • [he/him] • kæŋɡəˈ koʊdər

Random Fun Facts: Male, Christian, US resident, EST time zone, Ravenclaw, likes Math and Science, learning German, knows HTML, Python and Java, loves chocolate, favorite color, possibly a kangaroo
On the Main Site: Experienced Wikian, Camp Counselor, SWC Reviewer, SDS Helper, Forum Helper
On the Forums: 2.65K+ forum posts
Project Ideas Directory 6.0 - need a project idea? Check it out!
Check out some weird and cool Scratch pages!
TheClaw7654
Scratcher
500+ posts

Copy and Paste Code

No support. Because you can already do that.

I don't use Scratch that much anymore

If you see a forum topic of mine that was made in 2021, let me know ASAP so I can close it
CLICK TO JOIN SMEOWDERMAN CULT TODAY!!!

Omg!!! You're an evil kumquat!! To prove you are not an evil kumquat, please give me an Internet.


Cursed script jumpscare



say [foo v] :: operators :: hat
delete clone of [myself v] :: custom
switch costume to <existing?:: motion> :: control
when I start as a [clone v] :: sound :: cap



<<<<<<<<<<<<<<<<ULTRA BOOLEAN :: #fa0255> :: #fa02ac> :: #fa02ee> :: #d902fa> :: #6502fa> :: #024dfa> :: #02cdfa> :: #02fa93> :: #02fa0b> :: #a3fa02> :: #e1fa02> :: #fac002> :: #fa7a02> :: #fa3402> :: #fa0202> :: #fa0202










Here are my mighty anti-kumquat warriors:
you may need to use shift+right
<<<<<*-_-*::#c9b16d>::operators>::operators>::operators>::operators>::operators>//This is Brucie! He has mighty cards as his weapon.
(_(_(_(_(_)_)_)_)_)// And this is Morsie! He doesn't do much, but he distracts kumquats with his unique Beepolese language.




Tronche2Cake
Scratcher
100+ posts

Copy and Paste Code

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.

It's better to poop in the sink, than to sink in the poop.
-Scratch Cat, MIT graduate

HorsegirlTG
Scratcher
33 posts

Copy and Paste Code

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

✎︎Nerdy
✎︎Horsey
♡︎Happy to help ♡︎
airplanedodge
Scratcher
1000+ posts

Copy and Paste Code

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 cannot find this cool topic pleeease help… Don't worry, Ocular has you covered! also, please set a status!




if you can't see the “cubuplod is werk” banner then cubeupload is down.
((get dodged lol:: operators)(https://scratch.mit.edu/projects/488605725/:: pen):: motion)
HorsegirlTG
Scratcher
33 posts

Copy and Paste Code

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 !

✎︎Nerdy
✎︎Horsey
♡︎Happy to help ♡︎
Watersloths
Scratcher
4 posts

Copy and Paste Code

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
Scratcher
4 posts

Copy and Paste Code

To transfer code into another project click and drag it into your backpack at the bottom of the Code screen.
-stxllxr
New to Scratch
100+ posts

Copy and Paste Code

This is a duplicate
kinda a waste of a 120 second wait but whatever
cosmosaura
Scratch Team
1000+ posts

Copy and Paste Code

-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.



___________________
Scratch Team Member
Love hiking, cycling and travelling.

Powered by DjangoBB