Discuss Scratch

13114DartKayl
Scratcher
100+ posts

When Mouse "up" Block

At the moment there is a
<mouse down?>

but it would be helpfull if we had a
(mouse up?)

aswell !

From 13114DartKayl (Kayleigh) xxx
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

When Mouse "up" Block

<not <mouse down?>>//No support.
Cream_E_Cookie
Scratcher
1000+ posts

When Mouse "up" Block

<not <mouse down?>>
Workaround^^^
No support.

















13114DartKayl
Scratcher
100+ posts

When Mouse "up" Block

what about support ?
I tried
<not <mouse down?>>

but it didn't work…

From 13114DartKayl (Kayleigh) xxx
VoltageGames
Scratcher
1000+ posts

When Mouse "up" Block

are you thinking of some sort of scrolling technique? Not Mouse Down should have worked for Mouse Up.
Mouse down = mouse is clicking somewhere.
Not mouse down = mouse is not clicking anywhere.

i3-6100 / r9 380 / 8 gigs ram / 1 tb hdd

Click here to inflate my ego and thank me for my posts.


13114DartKayl
Scratcher
100+ posts

When Mouse "up" Block

No… I was doing a drawing project and I wanted to do a drag to draw type thing.



From 13114DartKayl (Kayleigh) xxx
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

When Mouse "up" Block

13114DartKayl wrote:

No… I was doing a drawing project and I wanted to do a drag to draw type thing.


forever

if <mouse down?> then

pen down
else
pen up
end

end
VoltageGames
Scratcher
1000+ posts

When Mouse "up" Block

13114DartKayl wrote:

No… I was doing a drawing project and I wanted to do a drag to draw type thing.


drag to draw?
As in, click and hold and move the mouse around?
Use this script!

when green flag clicked
forever

go to [mouse pointer v]
if <mouse down?> then

pen down
end
if <not <mouse down?>> then

pen up
end


end
(would've used an if/else but couldn't figure out how to do that in Scratchblocks plugin)
(edit: ninja'd!)

Last edited by VoltageGames (Aug. 10, 2015 02:58:27)


i3-6100 / r9 380 / 8 gigs ram / 1 tb hdd

Click here to inflate my ego and thank me for my posts.


13114DartKayl
Scratcher
100+ posts

When Mouse "up" Block

I tried that. It worked… but then needed another bit…. I wanted the pencil to follow the mouse, and a bit so that you could stop it from following the mouse and put it back later… and then it messed up completely… any ideas ???

Last edited by 13114DartKayl (Aug. 10, 2015 03:00:47)


From 13114DartKayl (Kayleigh) xxx
DaSpudLord
Scratcher
1000+ posts

When Mouse "up" Block

Chibi-Matoran wrote:

<not <mouse down?>>//No support.


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
Prinseskat
Scratcher
1000+ posts

When Mouse "up" Block

^^

If you want it to be only true when the mouse is released…
forever
if <mouse down?> then
wait until <not<mouse down?>
whatever you want to happen after mouse is released::custom
end
end

Last edited by Prinseskat (Aug. 10, 2015 08:18:57)


haha funny kumquat meme
Nether_before
Scratcher
1000+ posts

When Mouse "up" Block

Chibi-Matoran wrote:

<not <mouse down?>>//No support.
^^

~~If life gives you kumquats, lock your signature up, bury it in the ground and hope it's safe~~
hello child. i am an elf
koopa_land
Scratcher
100+ posts

When Mouse "up" Block

<not <mouse down?>> // no support

This looks like Real:

(if <> then [] else [] :: custom-arg)
great_elmo
Scratcher
100+ posts

When Mouse "up" Block

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this

Last edited by great_elmo (Aug. 9, 2019 22:49:23)


Recovering Scrstch user. Joining YT hopefully this year.

GerekRulesGwof
Scratcher
500+ posts

When Mouse "up" Block

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
This block would be useless. Why make a whole new block, when you could just do this (like everyone else has been saying):

<not <mouse down?>>

Last edited by GerekRulesGwof (Aug. 10, 2019 00:34:31)


This is my signature.

My signature was eaten by the Scratch Team, they removed it lol
MaximunPokeMaster
Scratcher
500+ posts

When Mouse "up" Block

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
Nice Necropost

H
coder2045
Scratcher
1000+ posts

When Mouse "up" Block

MaximunPokeMaster wrote:

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
Nice Necropost
You necroposted.

Highlight this text and press Ctrl-Shift-Down to view more of my signature. There's a lot in there.
I FOUND THE POSTIE POSTIE POST LINK THIS
Brainteaser: What comes next? Answer on my profile. First correct answer gets a follow.

[ ]
[ [ ] ]
[ [ [ ] ] [ ] ]
Good projects ⬇️




whiteandblackcat
Scratcher
1000+ posts

When Mouse "up" Block

MaximunPokeMaster wrote:

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
Nice Necropost
it is debated whether suggestions can ever be necroposted…. remember that the user may have been sent here from a duplicate (but yes)

Last edited by whiteandblackcat (Aug. 23, 2019 03:17:00)


Hi, I'm Kat!
I'm not too active in the forums anymore, but I'm still active on scratch!
I'm a cohost of Scratch Writing Camp, running it with Alba, Birdi, Bakie, and Honey.

I love coding, maths (especially simultaneous equations and the quadratic formula!!!), art and writing (and also spreadsheets and responsibilities-)! I used to know 157 digits of pi, but I can only get to around 110 at the moment. I also love Minecraft :]

Here's some things I have been in the past:
- Forum helper member
- Buzzy Bee Banners secretary & banner maker
- Emerald Shop 4.0 Vice President
Botcho_Otkho
Scratcher
1000+ posts

When Mouse "up" Block

whiteandblackcat wrote:

MaximunPokeMaster wrote:

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
Nice Necropost
it is debated whether suggestions can ever be necroposted…. remember that the user may have been sent here from a duplicate (but yes)
A suggestion is necroposted if the post adds nothing to the discussion specifically.

coder2045 wrote:

MaximunPokeMaster wrote:

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
Nice Necropost
You necroposted.
He/she didn't.

Last edited by Botcho_Otkho (Aug. 23, 2019 08:20:38)


I see now that the circumstances of one's birth are irrelevant. It is what you do with the gift of life that determines who you are. - Mewtwo
whiteandblackcat
Scratcher
1000+ posts

When Mouse "up" Block

Botcho_Otkho wrote:

whiteandblackcat wrote:

MaximunPokeMaster wrote:

great_elmo wrote:

mouse up? ::sensing boolean //support! we have mouse down, but not mouse up, we need this
Nice Necropost
it is debated whether suggestions can ever be necroposted…. remember that the user may have been sent here from a duplicate (but yes)
A suggestion is necroposted if the post adds nothing to the discussion specifically.
That is true, (I'm not disagreeing with you here) but often it seems a user has necroposted when they actually have been sent from a duplicate topic It might help more to explain to the user that it doesn't help to just agree, and that they should explain why they support/no support and give constructive feedback.

Hi, I'm Kat!
I'm not too active in the forums anymore, but I'm still active on scratch!
I'm a cohost of Scratch Writing Camp, running it with Alba, Birdi, Bakie, and Honey.

I love coding, maths (especially simultaneous equations and the quadratic formula!!!), art and writing (and also spreadsheets and responsibilities-)! I used to know 157 digits of pi, but I can only get to around 110 at the moment. I also love Minecraft :]

Here's some things I have been in the past:
- Forum helper member
- Buzzy Bee Banners secretary & banner maker
- Emerald Shop 4.0 Vice President

Powered by DjangoBB