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

#1 2011-05-05 21:40:58

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

How do I script this?

When you mouse over a sprite and the other sprite will change itself.

Offline

 

#2 2011-05-05 21:45:52

hdarken
Scratcher
Registered: 2008-06-26
Posts: 1000+

Re: How do I script this?

<when green flag clicked>
<if><touching[ Mouse
<broadcast[ next
<end>


Then
<when I receive[ next
<switch to costume[ 2

Last edited by hdarken (2011-05-05 21:47:46)


http://i.imgur.com/VskBk.png
http://i.imgur.com/tgxVZ.jpg

Offline

 

#3 2011-05-05 21:54:14

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

Re: How do I script this?

hdarken wrote:

<when green flag clicked>
<if><touching[ Mouse
<broadcast[ next
<end>


Then
<when I receive[ next
<switch to costume[ 2

Thanks! i needed this for my main menu.

Offline

 

#4 2011-05-05 22:02:35

hdarken
Scratcher
Registered: 2008-06-26
Posts: 1000+

Re: How do I script this?

guyman55 wrote:

hdarken wrote:

<when green flag clicked>
<if><touching[ Mouse
<broadcast[ next
<end>


Then
<when I receive[ next
<switch to costume[ 2

Thanks! i needed this for my main menu.

You're welcome.  smile


http://i.imgur.com/VskBk.png
http://i.imgur.com/tgxVZ.jpg

Offline

 

Board footer