Discuss Scratch
- Discussion Forums
- » Suggestions
- » Block Variables?
- savaka
-
Scratcher
1000+ posts
Block Variables?
For making complicated custom blocks that need variables, it seems kind of strange for them to need to use global or sprite variables that come from outside the block. Here's my idea of block variables.
Image 1
This is where you can add variables, it's in the “Options” part.
Image 2
This is where it appears on a block. (Say number + 3? Why does this need a variable?)
EDIT, REALIZED I FORGOT TO INCLUDE THIS: You drag the variable out of the definer like you would out of the block palette to add one. If you use it outside the custom block definition script it will report nothing. Also, when variable setters are put in the custom block definition their dropdowns change to add the block variables.
I hope you like my idea of block variables.
Image 1
This is where you can add variables, it's in the “Options” part.
Image 2
This is where it appears on a block. (Say number + 3? Why does this need a variable?)
EDIT, REALIZED I FORGOT TO INCLUDE THIS: You drag the variable out of the definer like you would out of the block palette to add one. If you use it outside the custom block definition script it will report nothing. Also, when variable setters are put in the custom block definition their dropdowns change to add the block variables.
I hope you like my idea of block variables.
Last edited by savaka (March 21, 2014 20:43:36)
- radu4000
-
Scratcher
53 posts
Block Variables?
This could replace the “Script Variables” block in BYOB. EPICCCCCCCCCCCCCCCCCCCCCC IDEA!
- scimonster
-
Scratcher
1000+ posts
Block Variables?
Two people posted saying that this should go in Feedback, yet how come no-one reported it? 
I support this.

I support this.
- savaka
-
Scratcher
1000+ posts
Block Variables?
Why would this be in feedback??? I'm suggesting block variables.
- coinman
-
Scratcher
100+ posts
Block Variables?
Why would this be in feedback??? I'm suggesting block variables.Back in the alpha/beta, the suggestions forum was called feedback.
- savaka
-
Scratcher
1000+ posts
Block Variables?
Oh.Why would this be in feedback??? I'm suggesting block variables.Back in the alpha/beta, the suggestions forum was called feedback.
EDIT: OHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
just wanted to be silly
Last edited by savaka (March 21, 2014 20:38:03)
- 0bitasy0
-
Scratcher
77 posts
Block Variables?
Yep, definitely could have used this in the past…
Support.
Support.
- Discussion Forums
- » Suggestions
-
» Block Variables?