Hi,
I want to make my activity so that when the mouse touches a Sprite (button) it will change color. This would not require a mouse click, just for the cursor to touch the Sprite. Is that possible in Scratch and if so what is the code? Thanks!
Offline
Yes, it's very possible.
So, rather than explain, i will just show you:
when gf clicked forever if <touching? [mouse pointer v]> switch to costume [mouse_Over v] // You could use color effect* end if <not <touching? [mouse pointer v]> > switch to costume [normal v] end end*You could use color effect, but i find that really confusing and it's really only good for constantly changing the color of something.
Last edited by CAA14 (2013-02-26 19:09:49)
Offline
Here's a tutorial on how to do this.
Offline