Discuss Scratch

Son_of_Ender25
Scratcher
7 posts

How to delete unused broadcasts??

Do any of you fellow scratchers know how to delete any unused broadcasts? I feel like in most of my games, I have tons of broadcasts I know aren't being used. Any way to delete them?
djdolphin
Scratcher
1000+ posts

How to delete unused broadcasts??

If there's a broadcast in the menu, it means it's used somewhere in the code. To get rid of a broadcast, get rid of the blocks using it.
Son_of_Ender25
Scratcher
7 posts

How to delete unused broadcasts??

djdolphin wrote:

If there's a broadcast in the menu, it means it's used somewhere in the code. To get rid of a broadcast, get rid of the blocks using it.
The thing is, right as you sent that, I was cleaning out some code and deleted some unnecessary broadcasts without realizing it either way, thanks for the response!
apforever
Scratcher
87 posts

How to delete unused broadcasts??

Hey this didn't work for me, I had copied in a sprite from my backpack and it had got some unused broadcasts in. I have checked all the code and still no uses of the broadcasts. So now i"m stuck with two broadcasts in my pick block menu that aren't being used and won't be used. Help!!!
savaka
Scratcher
1000+ posts

How to delete unused broadcasts??

apforever wrote:

Hey this didn't work for me, I had copied in a sprite from my backpack and it had got some unused broadcasts in. I have checked all the code and still no uses of the broadcasts. So now i"m stuck with two broadcasts in my pick block menu that aren't being used and won't be used. Help!!!
Get the broadcast block out and right-click and choose “show senders” or “show receivers” and look at the sprite panel to find where it's being used
Choose “clear senders/receivers” when you done

Powered by DjangoBB