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

#1 2011-06-30 16:43:58

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Drag and drop blocks between sprites

Which method is called when one grabs a stack of blocks from one sprite and drop it over another sprite's thumbnail (creating a copy of the stack in that sprite)?

Offline

 

#2 2011-07-01 13:46:21

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Re: Drag and drop blocks between sprites

I found the method BlockMorph>>justDroppedInto:event:, but I can't find how the copy of the stack is made.

Offline

 

#3 2011-07-01 14:08:25

Baderous
New Scratcher
Registered: 2011-04-14
Posts: 100+

Re: Drag and drop blocks between sprites

I found it. It's LibraryItemMorph>>acceptDroppingMorph:event:.

Offline

 

#4 2011-07-02 21:03:42

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: Drag and drop blocks between sprites

Right click the stack of blocks you want then click duplicate then the stack of blocks will follow your mouse pointer, then drag the stack of blocks to the sprite you want to (under the paint sprite button) and once the sprite you want to drop the stack of blocks into is highlighted light gray, then click and you are done. Remember these steps they are important and save time!


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#5 2011-07-03 02:05:25

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: Drag and drop blocks between sprites

Thescratch3 wrote:

Right click the stack of blocks you want then click duplicate then the stack of blocks will follow your mouse pointer, then drag the stack of blocks to the sprite you want to (under the paint sprite button) and once the sprite you want to drop the stack of blocks into is highlighted light gray, then click and you are done. Remember these steps they are important and save time!

...

Please read the first post before replying.

Also note that if the question was how to drag and drop blocks between sprites, this thread would be in the 'All About Scratch' forum.


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

Board footer