Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » More Blocks
- norahsimon07
-
15 posts
More Blocks
Hi! @norahsimon07 here!
I have an inquiry on the 'More Blocks' category.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You press More Blocks and then you get two choices. 'Make your own block' and 'add an extension'
Let's say you don't want to add an extension so you press Make your own block.
It then gives you a purple shaded block. below that it says:
'>options'
Then it says:
Add number input
add string input
add boolean input
add label text
without screen refresh.
WHAT DO YOU DO!!
I have an inquiry on the 'More Blocks' category.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You press More Blocks and then you get two choices. 'Make your own block' and 'add an extension'
Let's say you don't want to add an extension so you press Make your own block.
It then gives you a purple shaded block. below that it says:
'>options'
Then it says:
Add number input
add string input
add boolean input
add label text
without screen refresh.
WHAT DO YOU DO!!
- Sinaboo
-
100+ posts
More Blocks
Are you asking how to use/make blocks? Do you know what blocks on scratch are?
Last edited by Sinaboo (Oct. 19, 2018 06:27:02)
- norahsimon07
-
15 posts
More Blocks
I do know how to use blocks I just don't know how to function that specific type of block. Do you? How can you use that for making a game? Are you asking how to use/make blocks? Do you know what blocks on scratch are?
- Sinaboo
-
100+ posts
More Blocks
Which specific type of block? I don't really use blocks for any of my projects but I probably could if I wanted to. You can us them for making things easier/shorter.I do know how to use blocks I just don't know how to function that specific type of block. Do you? How can you use that for making a game? Are you asking how to use/make blocks? Do you know what blocks on scratch are?
- Sinaboo
-
100+ posts
More Blocks
Oh the custom blocks. Do you have anything in mind you'd want to function into a custom block? Try thinking of something that involves numbers or variables.
Last edited by Sinaboo (Oct. 19, 2018 06:43:17)
- awesome-llama
-
1000+ posts
More Blocks
For the input type, they are essentially variables that are updated when the custom stack block is run. String allows any text to be stored in the variable. Number is for numbers only, and boolean is either True or False.
Label text is to write the name in the block.
Run without screen refresh makes the block run in a single tick - there will be no delays in loops. This is very useful in projects that render pen frames as all the pen under the block is run instantly.
Edit: wow, ninja'd
Label text is to write the name in the block.
Run without screen refresh makes the block run in a single tick - there will be no delays in loops. This is very useful in projects that render pen frames as all the pen under the block is run instantly.
Edit: wow, ninja'd

Last edited by awesome-llama (Oct. 19, 2018 06:45:24)
- Scratch-Minion
-
1000+ posts
More Blocks
More Blocks is used to make your own “custom block”.
When you have made a custom block, you can run all the code in it by putting its name in a script.
To draw a square you could write a script:
You can make a block to draw a square.
Use “More Blocks”, type the name Square for your block then press <enter> and add the code.
When you create a custom block such as Square, you will see a new Square block in the central purple tab.
Now when you want to draw a square in your code, you can just drag the block name into your project.
If you want your custom block to be able to draw squares of different sizes, add a number input under “options” and call it Size.
Instead of “move 100 steps” use “move Size steps” inside your custom block for Square.
Then there will be a space to enter an input when you call your custom block Square.
eg. You will be able to write Square 50 or Square 25
When you have made a custom block, you can run all the code in it by putting its name in a script.
To draw a square you could write a script:
You can make a block to draw a square.
Use “More Blocks”, type the name Square for your block then press <enter> and add the code.
When you create a custom block such as Square, you will see a new Square block in the central purple tab.
Now when you want to draw a square in your code, you can just drag the block name into your project.
If you want your custom block to be able to draw squares of different sizes, add a number input under “options” and call it Size.
Instead of “move 100 steps” use “move Size steps” inside your custom block for Square.
Then there will be a space to enter an input when you call your custom block Square.
eg. You will be able to write Square 50 or Square 25
- norahsimon07
-
15 posts
More Blocks
For the input type, they are essentially variables that are updated when the custom stack block is run. String allows any text to be stored in the variable. Number is for numbers only, and boolean is either True or False.
Label text is to write the name in the block.
Run without screen refresh makes the block run in a single tick - there will be no delays in loops. This is very useful in projects that render pen frames as all the pen under the block is run instantly.
Edit: wow, ninja'd
Thank you but what doestext do?
- Sinaboo
-
100+ posts
More Blocks
Nothing. It's just text.
Last edited by Sinaboo (Oct. 19, 2018 10:42:22)
- norahsimon07
-
15 posts
More Blocks
Then how does it help in Scratch? Nothing. It's just text.
- norahsimon07
-
15 posts
More Blocks
NVM Thank you all for helping me I got it!Then how does it help in Scratch? Nothing. It's just text.
- Sinaboo
-
100+ posts
More Blocks
If you had multiple blocks then you could use the text to make it easier to understand which custom blocks are which. If you just had a bunch of inputs without text it might get confusing which custom block does what.Then how does it help in Scratch? Nothing. It's just text.
- BladiPetrov
-
100+ posts
More Blocks
I do know how to use blocks I just don't know how to function that specific type of block. Do you? How can you use that for making a game? Are you asking how to use/make blocks? Do you know what blocks on scratch are?
Well, you can do this (very useful):
Last edited by BladiPetrov (Feb. 13, 2022 17:46:25)
- SussyBaka2022
-
100+ posts
More Blocks
Last edited by SussyBaka2022 (Feb. 13, 2022 12:17:22)
- deck26
-
1000+ posts
More Blocks
Please don't spam or necropost.
Last edited by deck26 (Feb. 13, 2022 12:40:13)
- Discussion Forums
- » Help with Scripts
-
» More Blocks