For me, when I make a custom block and I put a huge input with it, it doesn't work, so for people with the same issues, just use broadcast(also custom blocks with small inputs like one in the video work)
FINALLY A TUTORIAL ON HOW BOOLEANS WORK!! all of them go over the first and last parameter which are easy to figure out over time but the boolean confused me for weeks!
You're a live saver! I'm having IT class and we're working with Scratch, I know much about it and never understood these Custom Blocks. I will be so much faster completing my tasks. (Also I when I will start using it my friend will be so confused and don't understand a word.) Thank you so much!
I would say I never write comments on youtube, but I have to say this. I was expecting a low quality scratch turtorial when searching this topic, but this video is so damn good. Amazing mic and pace. Great turtorial and great explaining. And as I Said I almost never write comments great video
Here I was never trying to use it just because I didnt know what it did, and then I find out its basically just a way more efficient version of broadcast and [forever] Thanks for the clear and concise tutorial.
It's not the same thing as a broadcast block, but it's still similar. You can only use these custom blocks in the sprite in which you created it. Actually, you can recreate custom blocks in every sprite. If the block is complex, You can also copy it by dragging the definition block you want, on icon of the sprite you want it in. I'm talking about icons which you can see under the stage.
Thank you! Most professional coders use this and I was always confused on why but this video gave me understand to it. This will definitely help in making my code so much shorter!
Very helpful video!! I have been using scratch for a long time and always avoided these blocks because they seemed complicated but now I see that it was actually very simple. Thanks a lot!
Also I’m not sure how hard this would be but can you try and make like a sandbox game maybe like the Paper Minecraft on scratch? I’ve been wanting to make a game like that for years. It’s meant to be a fusion of Minecraft terraria. So it would be a pretty good prototype to play with on scratch before I actually make it a fully fledged game. So if you could do it that would be amazing!
Sorry I didn't reply I have been really busy lately!😁Those types of games are crazy CRAZY advanced...But I have always wanted to make something like that. Maybe someday!
I am having trouble making something work. I am trying to make it so you input a value and it returns as something else. (not what my code is but what I mean) For example, you place a variable in one of the slots equal to 6, and the block just adds 2 to it and after the block is done the new value of that variable is 8. However, I can't find a way to do this so that it will work with whatever variable I input as there is no way to say Set ___ to something new, (___ being the input for the block) as you are only able to use the circle block of the input and nothing else. Sorry if I explained this bad or this is an easy fix but does anybody have a fix?
Thank you so much the helped so much with my projects! Before this I had no idea how to use the booleans and inputs. Also now I finally now how to create platforms! 11/10 awesome work
Try creating a variable for each spot and when the spot is already taken set the variable to true so when the CPU goes to that spot it checks if the variable for that square is true it movs to another one and it repeats.
Thank you so much, couldn’t figure out how to get my sprite to stop moving when hitting a wall instead of just moving back -20 steps to fight against the player, but it looked bugging and worked terribly. But this help me so much
The move away script looks good in the video but I came up with the same script myself trying to get collision working in my game and it works if you are facing the object but if you like back into it it glitches you through the object. Hopefully this helped. But the tutorial is really good.
is there a way to save these across project? i have a little spinny animation thing on one of my projects and i like to use it on others but it uses some code that idk what i means cuz i had to find a tutorial for it. so i want to save all of that code that makes it spin into one custom block so i can just use one block of code to make my little spinny animation
i need to know how this is any better than just a message block because couldn't you do it by just using a broadcast block and when i receive block ???
Thanks, this helped a lot! I’m trying to make a PvZ like game in scratch, and it would be impossible without the enemies having HP counters and other stuff
Just noticed that wouldn’t work because everything would share the same HP variable lol. Why does my brain move so slow! It was still an amazing tutorial none the less
Old video but very useful , I was so confused of custom blocks but now I understand thanks to your tutorial and it might be useful since I have like at least 50 broadcasts in my unshared project
I dont know if you will see this but my bolean doesnt work! In the block i added a bolean that repeats a script until the bolean is fulfilled, it doesnt work when i add my condition in the block but i tried doing it without using the custom block and it worked so im not sure why its not functioning well
This is the vid that got me to follow you - great communication skills! I learned a few things I didn't even realize I was missing out on. So... I guess custom blocks can only apply to other sprites than the one where you created it if you use the backpack to transfer it one new sprite at a time? Is there a place to create universal custom blocks or to import them so that they become unoiversal? (This is the reason I searched for block help to begin with, but now I know how to use the input buttons which massively finer understsnding, so THANKS)
@@imagee2 Well it won't shorten it, it'll just split it into two, but in a way, yes I guess? But yeah custom blocks are a lot for just organization really. However there is one use case, which is technically replicable with if checks, but I prefer this in a lot of ways. When you use a "stop this script" inside a custom block, it only stops the custom block, and not the script it was called from. I mainly use this in repeat loops, when I don't want the loop to stop, but I want the current run of the loop to end!
@@morganisapro8k a custom block can run scripts without screen refresh and use inputs, but i see what you mean. I don't think my brain was activated when i made that comment
i was here for run without screen refresh but i now know how the bolean works i thought i know how it works but i was wrong before and i get it now how the run without screen refresh works thanks!!
I hope this helps you guys out!
thanks it did
:D
For me, when I make a custom block and I put a huge input with it, it doesn't work, so for people with the same issues, just use broadcast(also custom blocks with small inputs like one in the video work)
This tutorial really helped! Thanks!!! :)
Please look my scratch:senosenos
I always never understood custom blocks this really helps
Yay I am glad!!
FINALLY A TUTORIAL ON HOW BOOLEANS WORK!! all of them go over the first and last parameter which are easy to figure out over time but the boolean confused me for weeks!
You're a live saver! I'm having IT class and we're working with Scratch, I know much about it and never understood these Custom Blocks. I will be so much faster completing my tasks. (Also I when I will start using it my friend will be so confused and don't understand a word.) Thank you so much!
Bruh I never under stood custom blocks so thank you
wow thank you
I never fully understood what these do I didnt think it was this simple
You are welcome!
I would say I never write comments on youtube, but I have to say this. I was expecting a low quality scratch turtorial when searching this topic, but this video is so damn good. Amazing mic and pace. Great turtorial and great explaining. And as I Said I almost never write comments great video
Hey, thanks a lot for the comment, I'm glad my tutorial was good/ helped you out. :)
yo i been used scratch for 3 year but still didn't know this untill now,thank u so much
3:23 We can also fit inside (text) and (number), but not reversed.
Here I was never trying to use it just because I didnt know what it did, and then I find out its basically just a way more efficient version of broadcast and [forever]
Thanks for the clear and concise tutorial.
It's not the same thing as a broadcast block, but it's still similar. You can only use these custom blocks in the sprite in which you created it. Actually, you can recreate custom blocks in every sprite. If the block is complex, You can also copy it by dragging the definition block you want, on icon of the sprite you want it in. I'm talking about icons which you can see under the stage.
Thank you! Most professional coders use this and I was always confused on why but this video gave me understand to it. This will definitely help in making my code so much shorter!
Very helpful video!! I have been using scratch for a long time and always avoided these blocks because they seemed complicated but now I see that it was actually very simple. Thanks a lot!
You're very welcome- they're really helpful! :D
I never understood how to use my blocks. This really helped me in my project thank you.
I am glad you understand now! Thanks for watching!
MAN THANK YOU I WAS SEARSHING FOR EVERY VIDEO IN UA-cam AND IT DOESN'T HELP ME BUT YOU'RE THE ONLY ONE WHO DO THUS THAAAAAANKSSS!!!!!
Great video! You did a good job explaining it simple enough for all ages yet it still shows you everything you need to know, keep up the good work!
Also I’m not sure how hard this would be but can you try and make like a sandbox game maybe like the Paper Minecraft on scratch? I’ve been wanting to make a game like that for years. It’s meant to be a fusion of Minecraft terraria. So it would be a pretty good prototype to play with on scratch before I actually make it a fully fledged game. So if you could do it that would be amazing!
Sorry I didn't reply I have been really busy lately!😁Those types of games are crazy CRAZY advanced...But I have always wanted to make something like that. Maybe someday!
Using custom blocks now that I understand this. Keep up the great videos, I really like your stuff
Thank you so much! I'm glad you understand them!
this actually just made me understand everything in scratch
Great video, I just got into scratch and I couldn't figure out what custom block did. You explained really well!
Thank you, I'm glad it helped you out. :)
Thank you for making this! I really didn't know how to use custom blocks.
You are very welcome! :D
Its so good! Still working that good on tutorials! Good job!
Thanks!
@@ShiftClickLearn No problem 😀
define blocks are like 'when i receive message1' blocks and inputs are like variables
This is the best explanation on blocks, Thank You
You are welcome! 😃
I am having trouble making something work. I am trying to make it so you input a value and it returns as something else. (not what my code is but what I mean) For example, you place a variable in one of the slots equal to 6, and the block just adds 2 to it and after the block is done the new value of that variable is 8. However, I can't find a way to do this so that it will work with whatever variable I input as there is no way to say Set ___ to something new, (___ being the input for the block) as you are only able to use the circle block of the input and nothing else. Sorry if I explained this bad or this is an easy fix but does anybody have a fix?
Finally figured out what this thing does, thanks :)
Thank you so much the helped so much with my projects! Before this I had no idea how to use the booleans and inputs. Also now I finally now how to create platforms! 11/10 awesome work
Hey! I am working on a Tic Tac Toe Game in scratch, but I am confused on how to make the CPU Not go to that one spot.
What one spot?
@@ShiftClickLearn try using the pick random ( ) to ( )
Try creating a variable for each spot and when the spot is already taken set the variable to true so when the CPU goes to that spot it checks if the variable for that square is true it movs to another one and it repeats.
my cl teacher didn't teavh me this, and before this vid I was just duping the codes and itwas very messy. Your vid saved my life!
Heyyyy, glad it helped you out!
Is there a way to make "if you click this sprite, sprite blah blah blah changes to next costume"?
Wow, that didn't do what I thought it did. Thanks for saving me all that time!
You are very welcome!!
The fact this and variables are so similar to each other
Omg thanks this will make my platformer very simple
You are welcome! :D
I didn't know how the boolean and the circle thing worked. Thanks for this tutorial!
You are welcome!
Thank you so much, couldn’t figure out how to get my sprite to stop moving when hitting a wall instead of just moving back -20 steps to fight against the player, but it looked bugging and worked terribly. But this help me so much
concise & to the point ,,,, thanks that was very helpful
Very good tutorial! Thanks!
This was super helpful! Been confused about boolean expressions on scratch for hours now 😅
Hey shift,... I have no idea how to code a programming language in scratch, can you make a tutorial about this? Thanks very much!
can you make these blocks usable in other sprites tho?
No you can not
yes you can. just drag the block definition into the desired sprite
Thanks for the tutorial! I knew what block itself did, but never knew what Circle and Hexagon input were for.
The move away script looks good in the video but I came up with the same script myself trying to get collision working in my game and it works if you are facing the object but if you like back into it it glitches you through the object. Hopefully this helped. But the tutorial is really good.
Thanks! Nice!!
thanks for the tutorial, this is really good
is there a way to save these across project? i have a little spinny animation thing on one of my projects and i like to use it on others but it uses some code that idk what i means cuz i had to find a tutorial for it. so i want to save all of that code that makes it spin into one custom block so i can just use one block of code to make my little spinny animation
Store it in the backpack, then open it up in your desired project and drop it in a sprite or the stage.
@@chibacha21_CarBoi yea i figured that out like right after i watched this but thank you anyway!
@@BeepBeep472 You're welcome! :D
i need to know how this is any better than just a message block because couldn't you do it by just using a broadcast block and when i receive block ???
The custom blocks have inputs and labels and stuff to organize your code.
Functionally, you can do the same thing with messages, but custom blocks make code organization much easier.
It's so useful 🥰 thanks so much
What does Boolean input do
Nvm you explained
So we can make copies of a block that is already on scratch…?
Yeah lol
lol XD
Thanks, this helped a lot! I’m trying to make a PvZ like game in scratch, and it would be impossible without the enemies having HP counters and other stuff
Just noticed that wouldn’t work because everything would share the same HP variable lol. Why does my brain move so slow! It was still an amazing tutorial none the less
Thanks! You could try to make the variable for this sprite only- That will make the HP var independent to the individual clones! 😁
@@ShiftClickLearn Ok, thanks! I had no idea that was what it was for lol
I don't understand, for me the blocks don't seem to be visible in the tool bar between sprites.
They only work for one sprite make another one if you want one in a different sprite just make one in the sprite you want it to be in
They are like a for this sprite only variable! :D
@@ShiftClickLearn Yeah I eventually figured them out, I just expected them to be across all sprites.
Old video but very useful , I was so confused of custom blocks but now I understand thanks to your tutorial and it might be useful since I have like at least 50 broadcasts in my unshared project
Thank you so much! Now I finally know what this does!
You're very welcome!
this rlly helped a lot! ty! :D
You are welcome!
is there a way to change the speed of ur sounds files without effecting the pitch??
It's very helpful thx!
Glad it helped! You're welcome! :D
make a tutorial on which block can we make the sprite flip horizontaly (which block)
Set rotation style to Left-Right
Point in direction 90/ -90
Hope this helps. :)
Very helpful thank you! 🍋
You're welcome! :D
This helped a bunch, thanks
I'm glad!!
This helped me out very much
I am glad!
Thank you I needed this sooo bad
You're welcome!! I'm glad it helped.
I dont know if you will see this but my bolean doesnt work! In the block i added a bolean that repeats a script until the bolean is fulfilled, it doesnt work when i add my condition in the block but i tried doing it without using the custom block and it worked so im not sure why its not functioning well
Did you tick the run without screen refresh?
I have a question how do you make a staircase using custom blocks
Probably just a lot of repeat blocks!
Such a good Video❤❤🎉
omg i didnt understand it at first but now i do tysm
You are very welcome! :D
Gz, it's a nice one. Especially outstanding performance at your age, according to your tone. Don't stop ;)
Thanks a lot!
Thank you SO MUCH it helped.
You're welcome! :D
this is an awesome tutorial!!!
Thank you! :D
much better than my computer lab teacher!
Glad I helped you out! :D
Thank you. i didnt know what it did and you helped me.
you are an absolute lifesaver
Thank u now I finally know what blocks are
Same with me
7:29 that happened to me too😂
xD
@@ShiftClickLearn yea same xD
This is the vid that got me to follow you - great communication skills! I learned a few things I didn't even realize I was missing out on. So... I guess custom blocks can only apply to other sprites than the one where you created it if you use the backpack to transfer it one new sprite at a time? Is there a place to create universal custom blocks or to import them so that they become unoiversal? (This is the reason I searched for block help to begin with, but now I know how to use the input buttons which massively finer understsnding, so THANKS)
Sadly you can't make universal custom blocks!
Custom blocks are so overpowered they are capable of crashing scratch
Doesn't that mean it's the same as the broadcast block?
yes but it’s more easier to do and you can make your own type by adding Booleans and inputs so it’s op and useful
@@TotallyNotJ4denn well yeah besides adding boolings and inputs
@@TiredAndSleepDeprived it can reduce blocks and be fit easier in code
@@TotallyNotJ4denn yeah but the broadcast Does the same thing just no booleans or inputs
@@TiredAndSleepDeprived some times you can’t put certain code into places so you use custom blocks
Great one. Well explained. It helped!
So it's basically a function?
I was about to say the same thing
Yes
I already know but thanks for telling me about that hexagon block, I didn’t even know about that!
boolean
What is the point of using a My block custom block without putting inputs, booleans or run without screen refresh?
you can use it to organize your code. ex. if you have jumping scripts or something, you can repleace it with a custom block.
@@tronnx6655 is it to make ur code shorter?
@@imagee2 Well it won't shorten it, it'll just split it into two, but in a way, yes I guess?
But yeah custom blocks are a lot for just organization really.
However there is one use case, which is technically replicable with if checks, but I prefer this in a lot of ways.
When you use a "stop this script" inside a custom block, it only stops the custom block, and not the script it was called from. I mainly use this in repeat loops, when I don't want the loop to stop, but I want the current run of the loop to end!
Yup, it's for organizing your code.
very smart young padavan! Thank you!
We have informed Lord Vader of your comment, he was mode pleased...
*IMPERIAL MARCH STARTS PLAYING*
You can add text to it, numbers, boolean, text. Works almost same as variable and broadcast and receive blocks.
Thanks man!!
No problem!
The Boolean also works with SOME circle stuff
?
ye
These are like functions in Visual Basic or a stored procedure in SQL.
this is really helpful, ty
You are welcome!
THANK YOU
Thanks! I really need an explanation for the number or text feature
Glad it helped! :D
With the first example, couldn't that be done with messages?
Can you send values between messages?
@@El_Asado No, but with the first example, he showed us that everytime you use the block, the output connected to the define block will be activated
@@morganisapro8k a custom block can run scripts without screen refresh and use inputs, but i see what you mean. I don't think my brain was activated when i made that comment
This will help alot for my game
And also I was wondering if you can make a survival game like minecraft but flat and a scrolling game with tiles?
Hey, I have a series on making a tile game! Here's the link: ua-cam.com/play/PLH9SXvJQHkMTuNRf_14_NcvJIDsosmh4n.html
@@ShiftClickLearn ok thanks
Thank you sooo much❤❤❤❤ i love this I'm subing
Omg that so useful tysm!❤
i was here for run without screen refresh but i now know how the bolean works i thought i know how it works but i was wrong before and i get it now how the run without screen refresh works thanks!!
Thanks very helpful 👍
Perfect man. Thanks
You're welcome!
Não tem mais blocos na categoria 🔴 (Os Meus Blocos) pq reiniciou com blocos da categoria 🔴 (Os Meus Blocos)
So helpful thank you so much!
Yay I know how to do a good game now!
Cooool!
it helps me so good
How do I get rid of scrolling camera in scratch
there is no scrolling camera unless you code it
so helpful, thanks
this is useful
Yay