Discuss Scratch

kittenkrat
Scratcher
3 posts

How do I make custom blocks affect all sprites?

I want to make a project and use some custom blocks, but it only affects one sprite, any help?
footsocktoe
Scratcher
1000+ posts

How do I make custom blocks affect all sprites?

kittenkrat wrote:

I want to make a project and use some custom blocks, but it only affects one sprite, any help?

Sorry, but each sprite has its own scripts. So a custom block belongs to the sprite it is created in. No other sprite can use it.

But you can make copies of it if other sprites need it and then just put the copy in their scripts. Use the backpack.


SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!

Scratch-Minion
Scratcher
1000+ posts

How do I make custom blocks affect all sprites?

This is a feature that it would be really nice for Scratch to have.

As footsocktoe says, you can copy the custom block into other sprites.
Alternatively, you can send a broadcast to the sprite with the custom block. Any variables you pass will need to be “for all sprites”.
asivi
Scratcher
1000+ posts

How do I make custom blocks affect all sprites?

If you need the same scripts for different Sprites you could use the cloning feature in certain cases.

Powered by DjangoBB