Discuss Scratch

GeoBug
Scratcher
100+ posts

Add a copy and paste option to code!

Hi! I have a suggestion! So, you know how on document-writing and/or drawing apps there is a copy and paste feature? On this website, there should be that option for code! When you right click on a script, along with duplicate, delete, and all that other stuff, you can add “copy” and “paste” so when you hit copy, it copies the code, and say when you right click on the code area itself, in say the backdrop or another sprite, it pastes that exact same code! Or, when you right click on a script and hit paste, it replaces the script with the pasted code!
Vibrato
Scratcher
1000+ posts

Add a copy and paste option to code!

Yeah, this would be easy to implement as the ST already has the duplicate code
Catie623
Scratcher
1000+ posts

Add a copy and paste option to code!

You can actually just drag the code over to another sprite (or the background). If you click on the code and drag it over to another sprite, the sprite will turn blue. Then you can release your mouse and then the code will be in the other sprite. Plus, when in a sprite, you can also press Ctrl + C, click onto another sprite, and press Ctrl + V. It copies and pastes the code. You can hold the certain code that you want to copy, press Ctrl + C, then you go to another sprite, Ctrl + V. But, this may be useful for mobile users, however, mobile users can also drag code over. I'll give it a semi-support.
GeoBug
Scratcher
100+ posts

Add a copy and paste option to code!

Catie623 wrote:

You can actually just drag the code over to another sprite (or the background). If you click on the code and drag it over to another sprite, the sprite will turn blue. Then you can release your mouse and then the code will be in the other sprite. Plus, when in a sprite, you can also press Ctrl + C, click onto another sprite, and press Ctrl + V. It copies and pastes the code. You can hold the certain code that you want to copy, press Ctrl + C, then you go to another sprite, Ctrl + V. But, this may be useful for mobile users, however, mobile users can also drag code over. I'll give it a semi-support.
Oh! Sorry, I didn't know that! Welp, now that i do, i think this topic might be closed. Thanks for telling me that! But then again, like you said, it can be useful for mobile people.
Anoosh_
Scratcher
100+ posts

Add a copy and paste option to code!

You can also place the code in your backpack B)
GeoBug
Scratcher
100+ posts

Add a copy and paste option to code!

Anoosh_ wrote:

You can also place the code in your backpack B)
Yeah but then if you don't want it you gotta immediately remove it after XD
MadeyeHP
Scratcher
1 post

Add a copy and paste option to code!

hey, i was just wondering, how do i copypaste pictures to scratch from another website
UI-coder
Scratcher
500+ posts

Add a copy and paste option to code!

They should add a feature to copy and paste code from scratch wiki. It would probably take forever.
wer65hertg
Scratcher
1000+ posts

Add a copy and paste option to code!

MadeyeHP wrote:

hey, i was just wondering, how do i copypaste pictures to scratch from another website
Next time, make a new thread for this question. But anyway, you can right-click on the costume in the costume editor, and press the export button to download it.
medians
Scratcher
1000+ posts

Add a copy and paste option to code!

wer65hertg wrote:

MadeyeHP wrote:

hey, i was just wondering, how do i copypaste pictures to scratch from another website
Next time, make a new thread for this question. But anyway, you can right-click on the costume in the costume editor, and press the export button to download it.
oh I was a bit confused for a second because in 2.0, for costumes, the option is “save to local file” and not export.

UI-coder wrote:

They should add a feature to copy and paste code from scratch wiki. It would probably take forever.
I mean, there used to be a way to copy and paste scratchblocks code to the backpack (added in July 2016) from the forums. However, it could add invalid blocks so it was removed the month after.

Last edited by medians (March 20, 2023 16:19:25)

medians
Scratcher
1000+ posts

Add a copy and paste option to code!

Bringing this topic up.
31cam3b
Scratcher
80 posts

Add a copy and paste option to code!

GeoBug wrote:

Hi! I have a suggestion! So, you know how on document-writing and/or drawing apps there is a copy and paste feature? On this website, there should be that option for code! When you right click on a script, along with duplicate, delete, and all that other stuff, you can add “copy” and “paste” so when you hit copy, it copies the code, and say when you right click on the code area itself, in say the backdrop or another sprite, it pastes that exact same code! Or, when you right click on a script and hit paste, it replaces the script with the pasted code!

I am so sorry but my topic was banned due to it believed to be a duplicate my topic was here https://scratch.mit.edu/discuss/topic/751223/
Wolf_Link21
Scratcher
100+ posts

Add a copy and paste option to code!

the backpack does the same thing

Powered by DjangoBB