Scratch blocks - mouse y

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



Category:
Guide
Duration: 16:15
21 views
0


In this video we are going to learn how to use "mouse y" Scratch block.
This block is one of the Sensing blocks, and it gives you information on value of mouse y coordinate on Stage in real time.
So, this block is very very similar to the one which we have learned in previous lesson - "mouse x" Scratch block.
The only difference is that this one shows you "y" coordinate and previous one showed you "x" coordinate.
But the real power of those blocks is when you combine them and use them both at once, which is the most often case scenario.
And that is what we are going to do in this video.
We are going to combine those 2 blocks with "and" Scratch block and make some kind of interesting game.
Ok, maybe it's not a game, but it's a good start.
We will make real time interactive check of where your mouse cursor is.
But you can keep on working on that code and upgrade it and turn it into something more if you have time.
For example some kind of radar, or watch tower which will inform your base where the enemies are coming from.

Keep on learning, keep on Scratching !!!







Tags:
Mouse y
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