When you enter the video sensing module, the first block you have is the "when video motion > 10" block. In this lesson, we will learn how to use it and what it does!

To access the full video please subscribe to FLLCasts.com
- #1576
- 22 Mar 2020
The "when video motion" block detects the motion on the video over the sprite and checks if it's greater than a given value. Therefore if we move more under the sprite, it will detect a greater value! By default the value is 10 which is why the block normally looks like this:
With this block, we can do a lot of cool things. An example of something very cool that was created using this block is this video where we have discovered that the block works best with the default value, 10. We can do everything that requires something to happen when the sprite detects movement!
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Keep 'em clean - remote Scratch game course
"Keep 'em clean" is a game that uses the players' real-life movement captured by a camera to control many "people" and push them towards a sink where they wash their hands! In this course, you will learn the basics of programming with Scratch, as well as using the "Video Sensing" extension to receive movement from the camera!
- 41
- 0:00
- 70

Lesson 2 - Control by using the camera
Introduction
Now that we have a character in our game, it's finally time to learn how to move it using our camera.
What do you think the camera detects? Would it be better to move slower of faster? Why?
You will find the answers to these questions by the end of this lesson!
- 6
- 3
- 8
- 3d_rotation 0