This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-07-27 12:31:58

lsquaredmom
Scratcher
Registered: 2008-07-24
Posts: 25

reusing blocks of code

It would be nice to be able to copy and past (or duplicate and drag) a block of code from one project to another or at least from one sprite to another within the same project.


http://www.lsquaredmath.us/images/alienSml.jpg

Offline

 

#2 2008-07-27 12:38:29

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: reusing blocks of code

lsquaredmom wrote:

It would be nice to be able to copy and past (or duplicate and drag) a block of code from one project to another or at least from one sprite to another within the same project.

You can indeed drag and drop from one sprite to another within the same project. Project-to-project drag-and-drop isn't possible at the moment, however: you still have to use export, import.

Offline

 

#3 2008-07-27 13:28:58

lsquaredmom
Scratcher
Registered: 2008-07-24
Posts: 25

Re: reusing blocks of code

chalkmarrow wrote:

You can indeed drag and drop from one sprite to another within the same project. Project-to-project drag-and-drop isn't possible at the moment, however: you still have to use export, import.

Okay thanks,  I just tried the drag and drop from sprite to sprite and it worked.  I didn't realize it before because I thought you had to be able to see the code for both sprites at once to make it work, but I just discovered that it worked by simply dragging the code to the sprite.

Also I guess I didn't realize that is what export and import was for. For some reason I thought that was just for images, not also blocks of code.  Pardon me, I'm new, but I am learning quickly thanks to folks like you are so helpful on these forums.

Thanks again!


http://www.lsquaredmath.us/images/alienSml.jpg

Offline

 

Board footer