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

#1 2011-12-24 02:07:21

wowonice
New Scratcher
Registered: 2011-12-24
Posts: 2

Is there a "point away from" motion command?

What I need to know is is there a "point away from command" as opposed to the "point towards" motion command? I need it to finish my first project, but cant seem to find anything of the sort.  hmm <point towards(

Offline

 

#2 2011-12-24 02:25:14

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Is there a "point away from" motion command?

point towards the sprite you want to point away from then change direction by 90 degrees


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2011-12-24 02:29:30

wowonice
New Scratcher
Registered: 2011-12-24
Posts: 2

Re: Is there a "point away from" motion command?

WOW never though of that. Probably 180 degrees though, right? Also, what would I do to make it work or the object changing direction is moving dynamically with the mouse pointer? Like a forever if?

Offline

 

#4 2011-12-24 02:57:06

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Is there a "point away from" motion command?

wowonice wrote:

WOW never though of that. Probably 180 degrees though, right? Also, what would I do to make it work or the object changing direction is moving dynamically with the mouse pointer? Like a forever if?

yes it does need to be 180 degrees
just put that script in a forever block


http://i.imgur.com/1QqnHxQ.png

Offline

 

Board footer