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

#1 2008-11-13 17:29:24

robertcc
Scratcher
Registered: 2008-11-13
Posts: 4

Is there a logical NOT ?

I am fairly new to scratch. I created a simple program where the sprite does something if the cursor moves over it. Is there a NOT functionality so it can do something if the cursor is not over it?

Offline

 

#2 2008-11-13 17:33:32

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Is there a logical NOT ?

<<  <not>  >>

Just use that  block.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2008-11-13 22:22:01

robertcc
Scratcher
Registered: 2008-11-13
Posts: 4

Re: Is there a logical NOT ?

Thanks!

Offline

 

#4 2008-11-13 22:23:41

robertcc
Scratcher
Registered: 2008-11-13
Posts: 4

Re: Is there a logical NOT ?

I know Scratch can move sprites to the mouse-cursor position. Is it possible to move the mouse-cursor to a sprite postion?

Offline

 

#5 2008-11-13 23:26:16

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Is there a logical NOT ?

robertcc wrote:

I know Scratch can move sprites to the mouse-cursor position. Is it possible to move the mouse-cursor to a sprite postion?

No, you can't do that yet... (Actually, I doubt it'll happen because some users might make it so you can't move the mouse unless you use a command to close the window).


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

Board footer