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

#1 2008-03-13 23:36:14

snakeyes121
Scratcher
Registered: 2008-03-13
Posts: 1

How do you make an object follow the mouse pointer?

I know how to get the object to go to the mouse, but it just jumps.  How do you make the object move slower, so that it follows the mouse?

Offline

 

#2 2008-03-13 23:45:17

Rukqo
Scratcher
Registered: 2008-01-17
Posts: 100+

Re: How do you make an object follow the mouse pointer?

That's a little more complicated. I have a simpler way that does not involve variables.

<when green flag clicked>
<forever>
    <glide( 0.1 )secs to x sad  <mouse x> )y sad  <mouse y>

Offline

 

Board footer