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

#1 2012-09-09 12:03:11

Snowymega
New Scratcher
Registered: 2012-09-09
Posts: 3

Randomly Moving Object?

Hello, I would love to know how you make an object go randomly around the screen, it is for a project that I am woring on.
Please could you help me?
Thank you in advance,
Snowymega
smile

Offline

 

#2 2012-09-09 12:34:48

humhumgames
Scratcher
Registered: 2012-03-26
Posts: 1000+

Re: Randomly Moving Object?

go to x: (pick random [#] to [#]) y: (pick random [#] to [#])

Last edited by humhumgames (2012-09-09 12:36:19)

Offline

 

#3 2012-09-10 16:33:59

Snowymega
New Scratcher
Registered: 2012-09-09
Posts: 3

Re: Randomly Moving Object?

Thank you very much!  smile

Offline

 

#4 2012-09-12 14:26:24

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Randomly Moving Object?

Or this

when gf clicked
forever
change y by (random)
change x by (random)
end
(by the script workshop)

Last edited by dvd4 (2012-09-12 14:26:41)


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

Board footer