Discuss Scratch

Kiska-7275
Scratcher
1000+ posts

"sprite clicked?" boolean block

jetpackjbd wrote:

“ i have never even interacted with this post ”

Kiska-7275 wrote:

jetpackjbd wrote:

why did i just get a notification from this thread for the first time, i have never even interacted with this post
Because you followed this discussion
“ 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.
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.

Last edited by Kiska-7275 (April 4, 2022 14:25:29)

VedanshS933
Scratcher
1000+ posts

"sprite clicked?" boolean block

No Support. Easy workaround
if <<touching [mouse poinyer v] ?> and <mouse down?>> then
...
end
Kiska-7275
Scratcher
1000+ posts

"sprite clicked?" boolean block

VedanshS933 wrote:

No Support. Easy workaround
if <<touching [mouse poinyer v] ?> and <mouse down?>> then
...
end
This has been stated many times: this workaround does not works exactly as
when this sprite clicked
because you could hover your mouse while holding and it would return true

Last edited by Kiska-7275 (April 4, 2022 12:41:12)

k0d3rrr
Scratcher
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.
Little_Mittle12345
Scratcher
100+ posts

"sprite clicked?" boolean block

sup “PORT”
AND babanu2014 is the one who necroposted

Last edited by Little_Mittle12345 (Oct. 19, 2022 17:59:44)

blablablahello
Scratcher
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
Scratcher
1000+ posts

"sprite clicked?" boolean block

DevanWolf wrote:

Firedrake969 wrote:

That's the same thing as repeat until touching mouse and mouse down. No support, as I've said, because of the easy workaround.
Read this thing again:
“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”
Use this
wait until <<not <mouse down?>> or <not <touching [mouse pointer v] ?>>

Last edited by cookieclickerer33 (Oct. 20, 2022 12:10:54)

TheBeast909_TheBest
Scratcher
100+ posts

"sprite clicked?" boolean block

it could be:
<when this sprite clicked>
gdfsgdfsgdfg
Scratcher
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

Last edited by gdfsgdfsgdfg (Dec. 25, 2024 14:30:18)

jmb1293634
Scratcher
1000+ posts

"sprite clicked?" boolean block

stage clicked::sensing boolean
would be the same as
<mouse down?>
FirefoxAmber
Scratcher
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.
Thiago_le_meilleur
Scratcher
1000+ posts

"sprite clicked?" boolean block

jmb1293634 wrote:

stage clicked::sensing boolean
would be the same as
<mouse down?>
No, because you can have mouse down without touching the stage.
jmb1293634
Scratcher
1000+ posts

"sprite clicked?" boolean block

Thiago_le_meilleur wrote:

jmb1293634 wrote:

stage clicked::sensing boolean
would be the same as
<mouse down?>
No, because you can have mouse down without touching the stage.
how?
GameCatastrophe
Scratcher
100+ posts

"sprite clicked?" boolean block

Thiago_le_meilleur wrote:

jmb1293634 wrote:

stage clicked::sensing boolean
would be the same as
<mouse down?>
No, because you can have mouse down without touching the stage.
I mean, sprites still count as <<touching mouse pointer> and <mouse down>> even through other sprites
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
Scratcher
100+ posts

"sprite clicked?" boolean block

touching doesnt detect a hidden sprite

Powered by DjangoBB