Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make one sprite say something after another sprite has been clicked?
- sadbat
-
New Scratcher
4 posts
How do I make one sprite say something after another sprite has been clicked?
For example, I have the main sprite (like a girl) say something like “Hi! My name is _____” Then I make three more sprites, using the draw feature and text box, with possible replies:
Sprite #1: “Hi! My name is _____.”
Sprite #2: “Goodbye”
Sprite #3: “What are you doing here?”
I want a player to be able to click on one of the replies and get the sprite (girl) to respond to that after it is clicked. Can anyone help?
Sprite #1: “Hi! My name is _____.”
Sprite #2: “Goodbye”
Sprite #3: “What are you doing here?”
I want a player to be able to click on one of the replies and get the sprite (girl) to respond to that after it is clicked. Can anyone help?
- Wyan100
-
Scratcher
1000+ posts
How do I make one sprite say something after another sprite has been clicked?
Hello! Welcome to Forums!
I think you might want to use this block:
How this block works is when it's activated it will send a message to all the sprite that have
I think you might want to use this block:
broadcast [message v]
How this block works is when it's activated it will send a message to all the sprite that have
when I receive [message v]
- Yeetoburro1
-
Scratcher
1000+ posts
How do I make one sprite say something after another sprite has been clicked?
Here are the codes for the clickable sprites (remember to make a new broadcast for each one)
when this sprite clickedAnd here are the codes for the main sprite (remember to make a script for each broadcast)
broadcast [ (answernumber)clicked]
when I receive [ (answernumber)clicked]
Say whatever you want to say
- sadbat
-
New Scratcher
4 posts
How do I make one sprite say something after another sprite has been clicked?
Thank you! It worked!

- riverripplestar
-
Scratcher
5 posts
How do I make one sprite say something after another sprite has been clicked?
how do make a sprit say something when i click it but then if i click it again it will say something different
when this sprite clicked
say [you clicked me 1] for (2) secs
when this sprite clicked
say [you clicked me 2] for (2) secs
- Scratch137
-
Scratcher
1000+ posts
How do I make one sprite say something after another sprite has been clicked?
how do make a sprit say something when i click it but then if i click it again it will say something differentHello, and welcome to the Scratch Forums!when this sprite clicked
say [you clicked me 1] for (2) secs
when this sprite clicked
say [you clicked me 2] for (2) secs
If you would like to ask a question about making a Scratch project, please create a new topic and ask it there.
Thanks!

- goofy_man_coming
-
New Scratcher
1 post
How do I make one sprite say something after another sprite has been clicked?
Hello! Welcome to Forums!
I think you might want to use this block:broadcast [message v]
How this block works is when it's activated it will send a message to all the sprite that havewhen I receive [message v]
- MistaLOD
-
Scratcher
100+ posts
How do I make one sprite say something after another sprite has been clicked?
how do make a sprit say something when i click it but then if i click it again it will say something differentwhen this sprite clicked
say [you clicked me 1] for (2) secs
when this sprite clicked
say [you clicked me 2] for (2) secs
when this sprite clicked
say [you clicked me 1] for (2) secs
wait until <not<mouse down?>>
wait until <<touching [mouse-pointer v]> and<mouse down?>>
say [you clicked me 2] for (2) secs
Last edited by MistaLOD (Nov. 17, 2022 20:40:01)
- Discussion Forums
- » Help with Scripts
-
» How do I make one sprite say something after another sprite has been clicked?