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

#1 2010-03-18 16:10:27

fireballman
Scratcher
Registered: 2010-02-17
Posts: 14

If pointing in direction?

How do you make an if statement that says 'if pointing in direction' or 'if pointing towards'?

Last edited by fireballman (2010-03-18 16:30:42)


There are only 10 types of people in the world: Those who know binary and those who don't.

Offline

 

#2 2010-03-18 19:49:01

Aloys1320
Scratcher
Registered: 2010-03-12
Posts: 23

Re: If pointing in direction?

<when green flag clicked>
<if>  <(   direction of ___   <=>  90  )>
<point in direction(  90

Offline

 

#3 2010-03-18 19:50:01

Aloys1320
Scratcher
Registered: 2010-03-12
Posts: 23

Re: If pointing in direction?

if you do that for all directions it should work fine.

Offline

 

Board footer