ok so i have this script for a ball:
[blocks]<when green flag clicked>
<forever if><< <touching[ mouse pointer] <and> <mouse down?> >>
<point in direction((( -1 <*> <mouse y> ))
<set{ speed }to( <distance to[ mouse pointer)[/blocks]
but the thing is it only changed the direction and speed the first time you click the ball, and if you move the mouse around while still having having the mouse down, nothing changes. any suggestions as to what i should do?
Last edited by funkymonkey (2009-11-13 18:07:30)
Offline
Um... maybe change the "forever if" into a "forever
if"?
I think I've seen this before somewhere, and that was the way to fix it.
Offline
thanks, i think that works!
Offline
you want to be a moderator? good luck and thanks for the help, i'll post the project here when i'm done
Offline
So does it work? And ur welcome!
Offline