This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-04-28 13:00:39

ScratchFormS
New Scratcher
Registered: 2013-04-28
Posts: 2

When Sprite clicked show another sprite

Can someone help me?

I want a program when one sprite is clicked, another sprite pops up. TY for your help!

Offline

 

#2 2013-04-28 13:47:49

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: When Sprite clicked show another sprite

Well, that's easy! You can use broadcasts; that's the simplest method.

Put this in the sprite that you want to be clicked's scripts:

when [Sprite1] clicked
broadcast [iwasclicked v]
And this in the one you want to pop up:

when gf clicked
hide

when i receive [iwasclicked v]
show
Easy as that!  smile
Also, this belongs in Help with Scripts. Lemme request for it to be moved. :3

Offline

 

#3 2013-04-28 14:12:05

ScratchFormS
New Scratcher
Registered: 2013-04-28
Posts: 2

Re: When Sprite clicked show another sprite

Oh TY Srry Im new so...

Offline

 

Board footer