forever
turn (pick random 1 to 360) degrees
repeat(pick random 1 to 100){
move 1
}
Offline
[blocks]
<when green flag clicked>
<forever>
<glide( <pick random( 1 )to( 10 )) )secs to x <pick random( -300 )to( 300 )y
<pick random( -300 )to( 300 >
<end>
Offline
Magnie wrote:
[blocks]
<when green flag clicked>
<forever>
<glide( <pick random( 1 )to( 10 )) )secs to x<pick random( -300 )to( 300 )y
<pick random( -300 )to( 300 >
<end>
This is a pretty good script...but you are going outside the range of the Scratch screen ( X goes from -240 to 240 and Y goes from -180 to 180) so your sprite will spend a fair amount of time at the edges of the screen because of the out of bound values. You may want to limit X and Y to the values I give here, if you don't want the sprite hanging out at the edges a lot
Offline
I didn't know what the screen range was...
Offline
Your welcome.
Offline