Is there a way to get something from the Scratch-Objects class to run something in the Scratch-Paint class?
Offline
Basically, I want to make a block that uses a method that is in another class.
(In this case, Scratch-Paint)
Offline
Do you want to make a paint sprite block?
You just need to do:
| t1 | t1 _ self ownerThatIsA: ScratchFrameMorph. t1 paintNewSpriteMorph
Offline
Offline

I need to get a block in Scratch-Objects (Red) to execute something in Scratch-Paint (blue). The reason I said Class is because what you get when you right click that area.
Offline
majormax wrote:
http://www.majorrom.com/personalfilehos … sisred.png
I need to get a block in Scratch-Objects (Red) to execute something in Scratch-Paint (blue). The reason I said Class is because what you get when you right click that area.
Are you trying to send a message to a class in a different category? Or are you trying to create an instance of a class? Are you trying to send a message to an instance? Stop talking about categories, they don't have ANY EFFECT on the evaluation of the code, they are 100% for organization.
Offline