Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » How to make a function?
- raxu
-
Scratcher
5 posts
How to make a function?
How to make a function? I can only make procedures in the “more blocks” part
- 78scratch87
-
Scratcher
7 posts
How to make a function?
First, this belongs in Questions about Scratch.
Second, they will appear in the block library. You can add a definition my adding different blocks under the “hat” block.
I'll explain how to do this in more detail later.
Second, they will appear in the block library. You can add a definition my adding different blocks under the “hat” block.
I'll explain how to do this in more detail later.
- Paddle2See
-
Scratch Team
1000+ posts
How to make a function?
If, by function, you mean a procedure in the form of a reporter block that returns a single value - you can't do that with the current structure. You can still use variables to get return values but it isn't very elegant. Perhaps in a later release of Scratch.
- 78scratch87
-
Scratcher
7 posts
How to make a function?
If, by function, you mean a procedure in the form of a reporter block that returns a single value - you can't do that with the current structure. You can still use variables to get return values but it isn't very elegant. Perhaps in a later release of Scratch.Thanks for moving this post Paddle2See!
- Discussion Forums
- » Questions about Scratch
-
» How to make a function?