Block specs goes in Scratch-Objects > ScriptableScratchMorph > class > block specs > blockSpecs.
Block code goes in Scratch-Objects > ScriptableScratchMorph > instance > [category] ops.
If you want to make a block that only works for the stage, put the code in ScratchStageMorph instead of ScriptableScratchMorph. For sprite blocks, put it in ScratchSpriteMorph.
Offline
nathanprocks wrote:
Block specs goes in Scratch-Objects > ScriptableScratchMorph > class > block specs > blockSpecs.
Block code goes in Scratch-Objects > ScriptableScratchMorph > instance > [category] ops.
If you want to make a block that only works for the stage, put the code in ScratchStageMorph instead of ScriptableScratchMorph. For sprite blocks, put it in ScratchSpriteMorph.
Thanks! This really helped, I haven't moded scratch in a while. well here it goes!
Offline