Video Sensing is a feature added in Scratch 2.0. It is similar to the Microsoft Kinect.[citation needed]
Video Blocks
There are four blocks related to video sensing. Three are stack blocks, and one is a hat block.
When Video Motion > ()
- Main article: When Video Motion is greater than () (block)
when video motion > (10)
This Hat Block starts its script if video motion is larger than the specified value.
Turn Video ()
- Main article: Turn Video () (block)
turn video [on v]
This block can turn the video on, off, or on-flipped (flipped horizontally).
Set Video Transparency to ()
- Main article: Set Video Transparency to () (block)
set video transparency to (50)
This block can set the transparency of the webcam output. Setting it to 100 makes it completely white, and 0 is a normal camera.
Video () on ()
- Main article: Video () on () (block)
(video [motion v] on [this sprite v])
This Reporter block can be accessed and used by any sprite, or the Stage. The first dropdown menu has options "motion" and "direction". The second contains a list of all the sprites.