Discuss Scratch
- Discussion Forums
- » Suggestions
- » Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
- medians
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
Bringing this topic up.
- pippy2011eight
-
91 posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
support
- TheCreatorOfUnTV
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
Can't you mod Scratch's source code to do this? Just add the feature, remove Scratch Cat, remove Gobo and change the logo to something else, and you now have a new programming language! (Especially since Scratch Team has only implemented 1 block-related suggestion.)
Still, great idea!
Still, great idea!
Last edited by TheCreatorOfUnTV (July 24, 2024 19:39:59)
- MythosLore
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
The same can be said for literally any suggestion; you can just make a Scratch mod with that feature. Can't you mod Scratch's source code to do this? Just add the feature, remove Scratch Cat, remove Gobo and change the logo to something else, and you now have a new programming language! (Especially since Scratch Team has only implemented 1 block-related suggestion.)
Still, great idea!
- ThisIsTemp1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
This would shorten scripts but it is a semi-support because of this concern.
1. People new to programming may believe that
would set foo to 10, but instead it would set the value of foo to 10, so now they are confused when foo ends up being empty.
And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)
1. People new to programming may believe that
set (foo) to [10]
would set foo to 10, but instead it would set the value of foo to 10, so now they are confused when foo ends up being empty.
And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)
set [foo v] to [mouse x]
set (foo) to [200]
Last edited by ThisIsTemp1 (July 24, 2024 20:20:19)
- ihavenocluewhythisis
-
500+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
actually if you check, it WOULD set the variable to 200 This would shorten scripts but it is a semi-support because of this concern.
1. People new to programming may believe thatset (foo) to [10]
would set foo to 10, but instead it would set the value of foo to 10, so now they are confused when foo ends up being empty.
And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to (mouse x)
set (foo) to [200]
(foo) //value = 200 so
((foo) - (200)) //would equal 0 because
set (foo) to [mouse x] // then 200 and
set (foo) to [200] //would be the same.
Last edited by ihavenocluewhythisis (July 24, 2024 21:10:43)
- medians
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
I do not understand what you're talking about, it would set the variable with the same name as the value of mouse x (not mouse x itself) to 200.. And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to [mouse x]
set (foo) to [200]
- ThisIsTemp1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
actually if you check, it WOULD set the variable to 200 This would shorten scripts but it is a semi-support because of this concern.
1. People new to programming may believe thatset (foo) to [10]
would set foo to 10, but instead it would set the value of foo to 10, so now they are confused when foo ends up being empty.
And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to (mouse x)
set (foo) to [200](foo) //value = 200 sothank custom blocks.
((foo) - (200)) //would equal 0
No it wouldn't. The way the block works is to set the VALUE of the variable to the input. For example if you set an answer to 20 and set the reporter value of answer to hide, it will check to see if there is a variable named 20 and set that to hide.
- ThisIsTemp1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
I do not understand what you're talking about, it would set the variable with the same name as the value of mouse x (not mouse x itself) to 200.. And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to [mouse x]
set (foo) to [200]
I'm wondering if you put a built in reporter, would it set the built in reporter's value to 200?
Last edited by ThisIsTemp1 (July 24, 2024 21:08:36)
- ihavenocluewhythisis
-
500+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
I edited the postactually if you check, it WOULD set the variable to 200 This would shorten scripts but it is a semi-support because of this concern.
1. People new to programming may believe thatset (foo) to [10]
would set foo to 10, but instead it would set the value of foo to 10, so now they are confused when foo ends up being empty.
And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to (mouse x)
set (foo) to [200](foo) //value = 200 sothank custom blocks.
((foo) - (200)) //would equal 0
No it wouldn't. The way the block works is to set the VALUE of the variable to the input. For example if you set an answer to 20 and set the reporter value of answer to hide, it will check to see if there is a variable named 20 and set that to hide.
Last edited by ihavenocluewhythisis (July 24, 2024 21:11:55)
- ihavenocluewhythisis
-
500+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
and if variables, why not booleans
set <you are seeing this post? :: sensing> to [1] // if boolean = true it will create/use a variable called true, false works the same but with false instead of true.
Last edited by ihavenocluewhythisis (July 24, 2024 23:56:12)
- medians
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
No, it would use the value of the reporter.I do not understand what you're talking about, it would set the variable with the same name as the value of mouse x (not mouse x itself) to 200.. And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to [mouse x]
set (foo) to [200]
I'm wondering if you put a built in reporter, would it set the built in reporter's value to 200?
- ThisIsTemp1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
No, it would use the value of the reporter.I do not understand what you're talking about, it would set the variable with the same name as the value of mouse x (not mouse x itself) to 200.. And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to [mouse x]
set (foo) to [200]
I'm wondering if you put a built in reporter, would it set the built in reporter's value to 200?
Okay then, that settles the concern but what about it being complex for beginners?
- TheCreatorOfUnTV
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
Maybe the variable blocks could be changed to:No, it would use the value of the reporter.I do not understand what you're talking about, it would set the variable with the same name as the value of mouse x (not mouse x itself) to 200.. And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to [mouse x]
set (foo) to [200]
I'm wondering if you put a built in reporter, would it set the built in reporter's value to 200?
Okay then, that settles the concern but what about it being complex for beginners?
(value of [foo v] :: variables) // You can place a block in the dropdown, which adds more functionality too! Based off of the variable reporter.so that
set variable [foo v] to [] :: variables // Based off of the set () to () block
set variable (value of [foo v] :: variables) to [] :: variableswould be more easily explainable. As a bonus, this:
set variable (value of (value of [foo v] :: variables) :: variables) to [] :: variableswould be possible!
- doggy_boi1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
There's no difference. The variable represents the value of foo, Foo and value of Foo are the same thingMaybe the variable blocks could be changed to:No, it would use the value of the reporter.I do not understand what you're talking about, it would set the variable with the same name as the value of mouse x (not mouse x itself) to 200.. And wouldn't it enable a workaround to not controlling the mouse pointer? Correct me if I'm wrong.(Which I'm probably)set [foo v] to [mouse x]
set (foo) to [200]
I'm wondering if you put a built in reporter, would it set the built in reporter's value to 200?
Okay then, that settles the concern but what about it being complex for beginners?(value of [foo v] :: variables) // You can place a block in the dropdown, which adds more functionality too! Based off of the variable reporter.so that
set variable [foo v] to [] :: variables // Based off of the set () to () blockset variable (value of [foo v] :: variables) to [] :: variableswould be more easily explainable. As a bonus, this:set variable (value of (value of [foo v] :: variables) :: variables) to [] :: variableswould be possible!
Also, how is this too complicated for beginners? even so, they dont have to use it (it's not even a block)
- huwahz
-
22 posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
They could find out that they could do that, and think that it will do the same thing as set with the drop-down. They use it, but do not know it doesn't work like that. Also, how is this too complicated for beginners? even so, they dont have to use it (it's not even a block)
btw this is ThisIsTemp's alt
Last edited by huwahz (July 24, 2024 23:09:51)
- doggy_boi1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
On the off chance that they happen to just accidentally put a variable there, why would they assume that when using variables in any other scenario will result in the value of the variable being the input? If somebody loaded the scratch editor for the first time and was testing variables, why would they even try putting the circle block in a square input? they'd likely use the equation blocks first.They could find out that they could do that, and think that it will do the same thing as set with the drop-down. They use it, but do not know it doesn't work like that. Also, how is this too complicated for beginners? even so, they dont have to use it (it's not even a block)
btw this is ThisIsTemp's alt
- ThisIsTemp1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
On the off chance that they happen to just accidentally put a variable there, why would they assume that when using variables in any other scenario will result in the value of the variable being the input? If somebody loaded the scratch editor for the first time and was testing variables, why would they even try putting the circle block in a square input? they'd likely use the equation blocks first.They could find out that they could do that, and think that it will do the same thing as set with the drop-down. They use it, but do not know it doesn't work like that. Also, how is this too complicated for beginners? even so, they dont have to use it (it's not even a block)
btw this is ThisIsTemp's alt
Because majority of the platform are young, or are not at all experienced with programming. When I first saw this I thought of this as the same, although I have been active on Scratch for about 2 years. They could also see it in a advanced project.
- doggy_boi1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
but this is how it behaves with every other block, this is how variables just generally work. In this case, you wouldn't even know how variables work anyways.On the off chance that they happen to just accidentally put a variable there, why would they assume that when using variables in any other scenario will result in the value of the variable being the input? If somebody loaded the scratch editor for the first time and was testing variables, why would they even try putting the circle block in a square input? they'd likely use the equation blocks first.They could find out that they could do that, and think that it will do the same thing as set with the drop-down. They use it, but do not know it doesn't work like that. Also, how is this too complicated for beginners? even so, they dont have to use it (it's not even a block)
btw this is ThisIsTemp's alt
Because majority of the platform are young, or are not at all experienced with programming. When I first saw this I thought of this as the same, although I have been active on Scratch for about 2 years. They could also see it in a advanced project.
- ThisIsTemp1
-
1000+ posts
Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns
Then what happens with someone who barely knows about variables who sees this in an advanced project?but this is how it behaves with every other block, this is how variables just generally work. In this case, you wouldn't even know how variables work anyways.On the off chance that they happen to just accidentally put a variable there, why would they assume that when using variables in any other scenario will result in the value of the variable being the input? If somebody loaded the scratch editor for the first time and was testing variables, why would they even try putting the circle block in a square input? they'd likely use the equation blocks first.They could find out that they could do that, and think that it will do the same thing as set with the drop-down. They use it, but do not know it doesn't work like that. Also, how is this too complicated for beginners? even so, they dont have to use it (it's not even a block)
btw this is ThisIsTemp's alt
Because majority of the platform are young, or are not at all experienced with programming. When I first saw this I thought of this as the same, although I have been active on Scratch for about 2 years. They could also see it in a advanced project.
- Discussion Forums
- » Suggestions
-
» Please allow us to put round blocks (e.g. variables, answer, custom block args, etc.) in the place of variable/list dropdowns