Discuss Scratch

Kappa619
New to Scratch
2 posts

Interaction between sprites

Hi to everyone! I'm happy to be in Scratch community! I started yesterday my first project and I have a question: how can i make possible the interaction between sprites? I will be more accurate: I want to start with only a sprite in the screen that do some action (move, speak etc) and then the other sprite appear (for example a bus) and after doing something another sprite appear and the previous ones disappear. Thank you very much in and have a nice day!
TheOatBaron
New to Scratch
41 posts

Interaction between sprites

You would be looking for the broadcast block; for example:

Sprite 1:
when [space v] key pressed
repeat (10)
move (10) steps
wait (.1) secs
end
broadcast [sprite2 appear v]

Sprite 2:
when green flag clicked
hide

when I receive [sprite2 appear v]
show
repeat (10)
move (-10) steps
wait (.1) secs
end
Kappa619
New to Scratch
2 posts

Interaction between sprites

Wow…thank you very much, I'll try it
Jamiyah1212
New to Scratch
1 post

Interaction between sprites

Does anyone know what interaction means for stratch

Powered by DjangoBB