Discuss Scratch

Adamm386
New to Scratch
9 posts

How do I make a sprite react if another sprite is getting clicked?

How do I make a sprite react if another sprite is getting clicked?

Last edited by Adamm386 (March 29, 2024 17:40:57)

ProfessorUelf
Scratcher
100+ posts

How do I make a sprite react if another sprite is getting clicked?

when this sprite clicked
broadcast [clicked v]

In the other sprite:
when I receive [clicked v]
do something

Code_Weegee
Scratcher
49 posts

How do I make a sprite react if another sprite is getting clicked?

Sprite1
when this sprite clicked
broadcast [Some message v]
Sprite2
when I receive [Some message v]
do whatever you want it to
Of course immediately after i send it, the question has been answered already

Last edited by Code_Weegee (March 29, 2024 17:40:56)


when I receive [New follow v]
change [Happy v] by (9999999999999999999999999)
currently working on an RPG! If you want to see it, it's right here ——-> https://scratch.mit.edu/projects/965643602/
Adamm386
New to Scratch
9 posts

How do I make a sprite react if another sprite is getting clicked?

But the message will be visible.
ProfessorUelf
Scratcher
100+ posts

How do I make a sprite react if another sprite is getting clicked?

What do you mean by “visible”?
The broadcast cannot be seen on screen.

Adamm386
New to Scratch
9 posts

How do I make a sprite react if another sprite is getting clicked?

ProfessorUelf wrote:

What do you mean by “visible”?
The broadcast cannot be seen on screen.
I did not know thanks so much.
Adamm386
New to Scratch
9 posts

How do I make a sprite react if another sprite is getting clicked?

This is the game I used this info. Please check it out and give feedback.https://scratch.mit.edu/projects/981298113
ADAMTHEGREAT2013
Scratcher
15 posts

How do I make a sprite react if another sprite is getting clicked?

u use the broadcast block and the when I recive block
--Irrelevant
Scratcher
90 posts

How do I make a sprite react if another sprite is getting clicked?

Adamm386 wrote:

But the message will be visible.


It won't be visible when the game is being played.

I'm Irrelevant! (jk)

What I'm good at:
Creating evil kumquats
Creating more evil kumquats
Creating even more evil kumquats because why not?


GIMME YOUR FOLLOW


My profile…








Powered by DjangoBB