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

#1 2012-10-07 13:18:59

mintfang
Scratcher
Registered: 2012-05-26
Posts: 500+

How Do you do this?

How do you make the button change costumes? Say I'm making a CC and I want buttons that change to a different costume when you put your mouse pointer on them. How do I do it?


http://i33.tinypic.com/25p1rw6.png

Offline

 

#2 2012-10-07 14:09:19

gfchll
Scratcher
Registered: 2012-04-21
Posts: 100+

Re: How Do you do this?

when gf clicked
 forever
if <touching [mouse-pointer v]?>
switch to costume [2nd costume v]
end
if <not<touching [mouse-pointer v]>>
switch to costume [1st costume v]
end

Last edited by gfchll (2012-10-07 14:09:52)


HELLO EVERYBODY!

Offline

 

#3 2012-10-07 14:43:38

mintfang
Scratcher
Registered: 2012-05-26
Posts: 500+

Re: How Do you do this?

gfchll wrote:

when gf clicked
 forever
if <touching [mouse-pointer v]?>
switch to costume [2nd costume v]
end
if <not<touching [mouse-pointer v]>>
switch to costume [1st costume v]
end

Thanks


http://i33.tinypic.com/25p1rw6.png

Offline

 

#4 2012-10-07 15:28:39

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: How Do you do this?

Closed by request of the topic owner.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer