Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make if i want this sprite if touching another sprite then broadcast another thing
- Kuronin
-
2 posts
How to make if i want this sprite if touching another sprite then broadcast another thing
heyy guyss i need ur help in my project
i already make this script “if touching finishline then broadcast level 2” but not worked and it do not broadcast level 2
Your text to link here…
i already make this script “if touching finishline then broadcast level 2” but not worked and it do not broadcast level 2
Your text to link here…
- deck26
-
1000+ posts
How to make if i want this sprite if touching another sprite then broadcast another thing
Do you want to try again with a link to the project or tell us which one it is - assuming it is shared?
- amster11722
-
100+ posts
How to make if i want this sprite if touching another sprite then broadcast another thing
Maybe you messed up the script somehow? Heres how it should look: compare it to yours.
- leonaja
-
33 posts
How to make if i want this sprite if touching another sprite then broadcast another thing
I have two pieces of advice for you:
•Finding the senders and receivers of you “broadcast” block
Right click a “broadcast” or a “When I receive” block and click “show senders” or “show receivers”. Then an outline will appear in the “Sprites” section.
•Checking if you have a “When I receive” block
One common mistake is you will have a “broadcast” block but you don't have a receiver block. A simple but a crucial mistake!
-Leonaja
•Finding the senders and receivers of you “broadcast” block
Right click a “broadcast” or a “When I receive” block and click “show senders” or “show receivers”. Then an outline will appear in the “Sprites” section.
•Checking if you have a “When I receive” block
One common mistake is you will have a “broadcast” block but you don't have a receiver block. A simple but a crucial mistake!
-Leonaja
- Discussion Forums
- » Help with Scripts
-
» How to make if i want this sprite if touching another sprite then broadcast another thing