Discuss Scratch

Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

READ FULL OP

Can there be a “set cursor to” block with (almost) every option available in CSS except for things like “none”?

This suggestion is NOT REJECTED, as per TOLORS section 1.8:


Check out this link for a full list of CSS cursors: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor (Yes, it's safe, it's a Mozilla Developer Network webpage)

For the record, this is what a CSS cursor looks like:

Image by me.

It could be used for scripts like this:
when @greenFlag clicked
say [You can click me!]
forever
if <touching [mouse pointer v]?> then
set cursor to (pointer v)::sensing stack
if <mouse down?> then
set cursor to (default v)::sensing stack
...
end
else
set cursor to (default v)::sensing stack
end
end
There could also be a “mouse cursor” block:
mouse cursor::sensing reporter
Which tells you the mouse cursor you're using.

Last edited by Yoshiii999 (July 15, 2023 15:40:52)

han614698
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

Everything Nothing is permanent.

Last edited by han614698 (July 24, 2021 12:43:23)

DarthVader4Life
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

So being able to change a the on screen cursor to the pointer, finger, and uppercase i with a block?
DarthVader4Life
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

nevermind

Last edited by DarthVader4Life (May 9, 2021 01:02:51)

Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

DarthVader4Life wrote:

So being able to change a the on screen cursor to the pointer, finger, and uppercase i with a block?
Yes, and possibly more types available in CSS such as:
when @greenFlag clicked
set drag mode [draggable v]::sensing stack
forever
if <touching (mouse-pointer v)?> then
set cursor to (move v)::sensing stack
else
set cursor to (default v)::sensing stack
end

Last edited by Yoshiii999 (May 9, 2021 01:06:41)

Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

han614698 wrote:

TOLORS wrote:

1.10 “Control mouse pointer” block
This block, and others, could be used to hide the mouse pointer or change the way the mouse pointer looks in a project. These blocks, however, do not significantly change the types of projects that can be created with Scratch; for more information, see this post. In addition, they may cause confusion to users, wondering where the mouse pointer went. A feature to control the mouse pointer, including freezing it or preventing it from leaving the project screen, poses similar confusing problems.

hide mouse pointer :: looks
Rejected as per TOLORS.
I meant like switching the cursor to the one displayed over textboxes etc
han614698
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

Yoshiii999 wrote:

han614698 wrote:

TOLORS wrote:

1.10 “Control mouse pointer” block
This block, and others, could be used to hide the mouse pointer or change the way the mouse pointer looks in a project. These blocks, however, do not significantly change the types of projects that can be created with Scratch; for more information, see this post. In addition, they may cause confusion to users, wondering where the mouse pointer went. A feature to control the mouse pointer, including freezing it or preventing it from leaving the project screen, poses similar confusing problems.

hide mouse pointer :: looks
Rejected as per TOLORS.
I meant like switching the cursor to the one displayed over textboxes etc
That's still rejected, AFAIK.
Sorry, you have to wait 60 seconds between posts
PkmnQ
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

Would not cause confusion due to being limited to only the usual, is probably easier to implement than other suggestions, would make scratch projects slightly more immersive. I see no problem with this.
Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

bump
the2000
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

han614698 wrote:

Yoshiii999 wrote:

I meant like switching the cursor to the one displayed over textboxes etc
That's still rejected, AFAIK.
Only hiding the mouse cursor, as far as I am aware. There are plenty of other built-in CSS cursor values, and the Scratch developers could add even more if they wanted to.

Last edited by the2000 (June 29, 2021 23:30:28)

samq64
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

I support as long as it only supports standard CSS mouse cursors and it is only affected inside the stage canvas.

Last edited by samq64 (June 29, 2021 23:34:20)

Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

the2000 wrote:

han614698 wrote:

Yoshiii999 wrote:

I meant like switching the cursor to the one displayed over textboxes etc
That's still rejected, AFAIK.
Only hiding the mouse cursor, as far as I am aware. There are plenty of other built-in CSS cursor values, and the Scratch developers could add even more if they wanted to.
Please don't recommend w3schools
the2000
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

Yoshiii999 wrote:

the2000 wrote:

Only hiding the mouse cursor, as far as I am aware. There are plenty of other built-in CSS cursor values, and the Scratch developers could add even more if they wanted to.
Please don't recommend w3schools
I only linked that page as a convenient reference for all of the CSS cursors, that wasn't supposed to be an official endorsement or anything

(Also why? I know that the “programming courses” are wastes of money but otherwise I haven't run into any problems with the site)
Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

the2000 wrote:

Yoshiii999 wrote:

the2000 wrote:

Only hiding the mouse cursor, as far as I am aware. There are plenty of other built-in CSS cursor values, and the Scratch developers could add even more if they wanted to.
Please don't recommend w3schools
I only linked that page as a convenient reference for all of the CSS cursors, that wasn't supposed to be an official endorsement or anything

(Also why? I know that the “programming courses” are wastes of money but otherwise I haven't run into any problems with the site)
it's a bit inaccurate/misleading, it's only great for referencing
the2000
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

Yoshiii999 wrote:

the2000 wrote:

Also why? I know that the “programming courses” are wastes of money but otherwise I haven't run into any problems with the site
it's a bit inaccurate/misleading, it's only great for referencing
Do you have a source for that? I'm interested. As I said previously, I haven't found any inaccurate content, though obviously I'm not solely relying on it as an HTML reference.
Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

the2000 wrote:

Yoshiii999 wrote:

the2000 wrote:

Also why? I know that the “programming courses” are wastes of money but otherwise I haven't run into any problems with the site
it's a bit inaccurate/misleading, it's only great for referencing
Do you have a source for that? I'm interested. As I said previously, I haven't found any inaccurate content, though obviously I'm not solely relying on it as an HTML reference.
(Late replying because of the corrupted message system)
There are already a lot of people who say that. Plus, a lot of things are explained incorrectly such as JavaScript Promises (you would know this if you were to then look it up on MDN).
They even admit trying to “improve learning by simplifying things” at the bottom of the page, in tiny text.
Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

the2000 wrote:

Yoshiii999 wrote:

the2000 wrote:

Also why? I know that the “programming courses” are wastes of money but otherwise I haven't run into any problems with the site
it's a bit inaccurate/misleading, it's only great for referencing
Do you have a source for that? I'm interested. As I said previously, I haven't found any inaccurate content, though obviously I'm not solely relying on it as an HTML reference.
But this is getting off-topic, let's just focus on the main idea.
the2000
Scratcher
1000+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

Yoshiii999 wrote:

There are already a lot of people who say that. Plus, a lot of things are explained incorrectly such as JavaScript Promises (you would know this if you were to then look it up on MDN).
Bold of you to assume that I don't use MDN

Edit: For the record, I don't think I've ever actually used the JS tutorials on that site. I mostly just use it as an HTML/CSS reference, for which it hasn't given me much trouble
They even admit trying to “improve learning by simplifying things” at the bottom of the page, in tiny text.
To be fair, that's kind of also Scratch's core design philosophy
But this is getting off-topic, let's just focus on the main idea.
Alright.

I see potential in changing the mouse cursor. I think I recall child me finding it weird that there was no way to “open” the mouse cursor, i.e. for buttons, so this suggestion makes sense to me.

Last edited by the2000 (June 30, 2021 19:07:09)

Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

the2000 wrote:

Bold of you to assume that I don't use MDN
I never said that you didn't use MDN

Last edited by Yoshiii999 (July 7, 2021 16:29:29)

Yoshiii999
Scratcher
100+ posts

[Read OP] "set cursor to" block - Featured as "not rejected" on TOLORS

bump

Powered by DjangoBB