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

#1 2009-01-11 12:36:16

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

mouse up block

there's a mouse down block, why not a mouse up block.


Hai.

Offline

 

#2 2009-01-11 12:55:54

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: mouse up block

It is the equivalent of Not <mouse down>

Offline

 

#3 2009-01-11 14:51:48

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: mouse up block

Here is the code:
.
< <not> <mouse down?> >>

Last edited by Buddy_ca111 (2009-01-11 14:54:48)


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

#4 2009-01-11 23:44:08

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: mouse up block

oh yeah, sorry, I did not see the 'not' block.


Hai.

Offline

 

#5 2009-01-12 07:57:59

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: mouse up block

if you want a "when mouse realeased"
if(Mouse.isDown){
waitUntill (Not(mouseDown))
//script
}

Offline

 

Board footer