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

#1 2009-10-09 21:28:06

kitty_zhang
Scratcher
Registered: 2009-10-04
Posts: 3

Know to make the sprite move by following the mouse?

I don't know how to make the sprite move by following the mous。

Offline

 

#2 2009-10-09 21:58:18

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: Know to make the sprite move by following the mouse?

Hello kitty_zhang. The show and tell forum isn't for posting your questions. If you have a question about how to do something in Scratch, you should post it in the 'all about Scratch' forum, and not here.  smile


I'm graduating HS this April and going to college in the Fall.

Offline

 

#3 2009-10-09 23:15:45

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Know to make the sprite move by following the mouse?

He is right about that.  But anyways to anwser your question, I need to ask one.  Are you trying to make it follow the mouse, or go to the mouse?  If your trying to make it follow the mouse, then you need to set up a simple system where the sprite points toward the mouse, and moves a certain amount of steps (you can get more complex with it if need be).  If your tying to get the sprite to go to the mouse, then all you need is the "go to" script.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#4 2009-10-09 23:37:28

FantasyTales
Scratcher
Registered: 2008-06-02
Posts: 1000+

Re: Know to make the sprite move by following the mouse?

point towards (mouse pointer)
move () steps
its that easy  smile


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

#5 2009-10-09 23:46:58

kitty_zhang
Scratcher
Registered: 2009-10-04
Posts: 3

Re: Know to make the sprite move by following the mouse?

Thanks a lot!

Offline

 

Board footer