Scratch blocks - ... and ...

Subscribers:
503
Published on ● Video Link: https://www.youtube.com/watch?v=Zv7uk4xlvLU



Category:
Tutorial
Duration: 24:18
19 views
0


In this video we are going to learn how to use "... and ..." Scratch block.
This block is one of the Operators blocks, and we are going to use it when we have more then one condition at the same time.
Or to be more precise we will use it to solve the problem with our cat moving to different heights on different levels.
We want our cat to be able to move to one limit on first level, another on second, and another on third.
So, we have to explain that to Scratch, in his language, Scratch blocks.
We have 2 questions to answer:
1.is the cat on level ...?
2.is the cat on height (y position) ...?
And we are going to put these 2 questions in "and" block.
Only if both answers are true, then the "and" block will be true and we can say to Scratch what the reaction will be.
In our case, that's pulling the cat down, to the limit we made.
It maybe sounds complex, but it is not that much, especially if you plan to code in Scratch for longer term.
Just play with this block and try to think of some examples where you have 2 or more conditions and that's it!

Keep on learning, keep on Scratching !!!







Tags:
And
Scratch blocks
Scratch 3 blocks
Scratch
Scratch 3
Scratch tutorials
Scratch 3 tutorials
programming
coding
programming for kids
coding for kids
programming for beginners
coding for beginners
how to program
how to code
how to program in Scratch
how to code in Scratch
Knowledge For All
K4A