Discuss Scratch
- Discussion Forums
- » Suggestions
- » "sprite clicked?" boolean block
- Kiska-7275
-
1000+ posts
"sprite clicked?" boolean block
Probably you followed the topic a while ago and forgot it. Check the “Follow Discussion” button. Anyways, please create a new topic for your issue, do not derail topics, because it causes more off-topic discussion. “ i have never even interacted with this post ”“ i have never even interacted with this post ” i didn't even know this existed. either scratch is having issues or someone's on my account.Because you followed this discussion why did i just get a notification from this thread for the first time, i have never even interacted with this post
Last edited by Kiska-7275 (April 4, 2022 14:25:29)
- VedanshS933
-
1000+ posts
"sprite clicked?" boolean block
No Support. Easy workaround
if <<touching [mouse poinyer v] ?> and <mouse down?>> then
...
end
- Kiska-7275
-
1000+ posts
"sprite clicked?" boolean block
This has been stated many times: this workaround does not works exactly as No Support. Easy workaroundif <<touching [mouse poinyer v] ?> and <mouse down?>> then
...
end
when this sprite clickedbecause you could hover your mouse while holding and it would return true
Last edited by Kiska-7275 (April 4, 2022 12:41:12)
- k0d3rrr
-
1000+ posts
"sprite clicked?" boolean block
When it comes to bumping topics, well… I guess I'm really good at bumping topics to the front page!
But competition doesn't matter.
All that matters is that I'm bumping this topic. The end.
But competition doesn't matter.
All that matters is that I'm bumping this topic. The end.
- Little_Mittle12345
-
100+ posts
"sprite clicked?" boolean block
sup “PORT”
AND babanu2014 is the one who necroposted
AND babanu2014 is the one who necroposted
Last edited by Little_Mittle12345 (Oct. 19, 2022 17:59:44)
- blablablahello
-
1000+ posts
"sprite clicked?" boolean block
easy workaround but not really:
if <<touching [mouse pointer v] ?> and <mouse down?>> then
stuff
wait until <not <mouse down?>>
end
- cookieclickerer33
-
1000+ posts
"sprite clicked?" boolean block
Use thisRead this thing again: That's the same thing as repeat until touching mouse and mouse down. No support, as I've said, because of the easy workaround.
“Whenever you hold down the mouse on the sprite it will start, and if you move away from the sprite while holding down or let go it stops, but if you move your mouse back on the sprite whenever your mouse is down, then nothing will happen anymore unless you release and click the sprite again”
wait until <<not <mouse down?>> or <not <touching [mouse pointer v] ?>>
Last edited by cookieclickerer33 (Oct. 20, 2022 12:10:54)
- TheBeast909_TheBest
-
100+ posts
"sprite clicked?" boolean block
it could be:
<when this sprite clicked>
- gdfsgdfsgdfg
-
1000+ posts
"sprite clicked?" boolean block
man yall need to read the op correctly
so anyways, this might be useful if you only wanted the click in boolean form
so when you want to make a sprite clickable in first place
but then when there is a variable change then you can no longer click
Yes there is a workaround but the boolean can break
if you hold mouse down then hover the sprite
and the hat block? well
so anyways, this might be useful if you only wanted the click in boolean form
so when you want to make a sprite clickable in first place
but then when there is a variable change then you can no longer click
Yes there is a workaround but the boolean can break
if you hold mouse down then hover the sprite
and the hat block? well
Last edited by gdfsgdfsgdfg (Dec. 25, 2024 14:30:18)
- jmb1293634
-
1000+ posts
"sprite clicked?" boolean block
stage clicked::sensing booleanwould be the same as
<mouse down?>
- FirefoxAmber
-
100+ posts
"sprite clicked?" boolean block
Support: No
Reason: There is an easy workarounds for it and the Scratch Team wants to keep the block count at a minimum for various reasons. The original post even shows one of the workarounds.
Reason: There is an easy workarounds for it and the Scratch Team wants to keep the block count at a minimum for various reasons. The original post even shows one of the workarounds.
- Thiago_le_meilleur
-
1000+ posts
"sprite clicked?" boolean block
No, because you can have mouse down without touching the stage.stage clicked::sensing booleanwould be the same as<mouse down?>
- jmb1293634
-
1000+ posts
"sprite clicked?" boolean block
how?No, because you can have mouse down without touching the stage.stage clicked::sensing booleanwould be the same as<mouse down?>
- GameCatastrophe
-
100+ posts
"sprite clicked?" boolean block
I mean, sprites still count as <<touching mouse pointer> and <mouse down>> even through other spritesNo, because you can have mouse down without touching the stage.stage clicked::sensing booleanwould be the same as<mouse down?>
But ig you could have sections of transparent bg (imtyping while walking sso please excuse how sucky this looks)
Last edited by GameCatastrophe (April 29, 2025 16:01:22)
- c0der0928
-
100+ posts
"sprite clicked?" boolean block
touching doesnt detect a hidden sprite
- Discussion Forums
- » Suggestions
-
» "sprite clicked?" boolean block