Discuss Scratch
- Discussion Forums
- » Suggestions
- » <mouse pointer> block
- HappyKid54321
-
Scratcher
100+ posts
<mouse pointer> block
i want a block like: <mouse pointer>. that simple. (i want it in the shape of what it looks like when i typed it) do you guys think you an help?
- k7e
-
Scratcher
1000+ posts
<mouse pointer> block
<mouse pointer :: sensing>If this would be a booleans block like you stated, when would this report “true” and when would it report “false”?
- bobcat0701
-
Scratcher
1000+ posts
<mouse pointer> block
How would this work?
<mouse pointer ::sensing>
Last edited by bobcat0701 (Oct. 11, 2023 01:21:12)
- medians
-
Scratcher
1000+ posts
<mouse pointer> block
Do you mean like the snap block?

Or if we somehow get dictionaries for this at some point:


Or if we somehow get dictionaries for this at some point:

I find it like a thousand times more likely they meant as in whatever the shape of the reporter is LOL, and that they had no idea that's how booleans were represented, but..<mouse pointer :: sensing>If this would be a booleans block like you stated, when would this report “true” and when would it report “false”?
- cookieclickerer33
-
Scratcher
1000+ posts
<mouse pointer> block
I think it’s
<<touching [mouse pointer v] ?> and <mouse down?>>Or possibly the mouse pointer as a sprite so you can do
([x position v] of <mouse pointer::sensing>)
- ajskateboarder
-
Scratcher
1000+ posts
<mouse pointer> block
Or possibly the mouse pointer as a sprite so you can doWell we have these reporters already([x position v] of <mouse pointer::sensing>)

(mouse x)
(mouse y)
So it must be the former, although the workaround is very simple and makes a lot of sense
- cookieclickerer33
-
Scratcher
1000+ posts
<mouse pointer> block
It’s also a dupe I’m 99% sureOr possibly the mouse pointer as a sprite so you can doWell we have these reporters already([x position v] of <mouse pointer::sensing>)(mouse x)
(mouse y)
So it must be the former, although the workaround is very simple and makes a lot of sense
- medians
-
Scratcher
1000+ posts
<mouse pointer> block
guys, it needs to be a boolean blockSo then what would it report??
Also, that would make no sense, and would likely confuse people.
- HappyKid54321
-
Scratcher
100+ posts
<mouse pointer> block
ok if that will confuse people then is it possible to get the Mouse x and the Mouse y block as a boolean block
- ajskateboarder
-
Scratcher
1000+ posts
<mouse pointer> block
ok if that will confuse people then is it possible to get the Mouse x and the Mouse y block as a boolean blockOkay, let me clear some misunderstanding. This block:
(mouse x)
reports a number, because it is oval-shaped, which defines a value reporter.
This block:
<mouse x ::sensing>
would report “true” or “false” since it has sharp corners, which defines a boolean reporter. This would not a specific number or string. What would this mean?
- cookieclickerer33
-
Scratcher
1000+ posts
<mouse pointer> block
ok if that will confuse people then is it possible to get the Mouse x and the Mouse y block as a boolean blockBooleen is the value that is reported
The function itself is a predicate
Anyway mouse pointer as a block wouldn’t have a use
- HappyKid54321
-
Scratcher
100+ posts
<mouse pointer> block
Wait, how did you make a block that doesn’t exist
- medians
-
Scratcher
1000+ posts
<mouse pointer> block
Wait, how did you make a block that doesn’t existScratchblocks allows you to create blocks, there should be a sticky (pretty much just a pinned topic, or a topic that always appears at the top of a forum) in Help with Scripts allowing you to test it, and it links resources to help learn how to use it.
If you mean my image, yea I used a feature that was in Scratch 2.0, and a bug that was fixed at some point.
- Discussion Forums
- » Suggestions
-
» <mouse pointer> block





