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

#1 2011-07-11 10:47:19

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

Get a block spec

I have a block (a BlockMorph or one of its subclasses) and I want to retrieve the spec (defined in blockSpecs) associated with that block. How can I do that?

Offline

 

#2 2011-07-11 11:07:55

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

Re: Get a block spec

Hmm I found that all CommandBlockMorphs have a commandSpec and selector, I think I can get something from this...

Offline

 

Board footer