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?
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
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