- This article is about the extension. For the extension that allows recognition of facial elements, see Face Sensing Extension.


The Video Sensing Extension is an extension that allows webcams to interact with Projects through Video Sensing. When the extension is added to a project, a video will appear which will display what the user's webcam sees, unless the user has blocked Scratch's access to the webcam, at which point there will be no video. Prior to Scratch 3.0, three of the four extension blocks were found in the Sensing Blocks. However, in Scratch 3.0, the blocks were moved into their own extension, with addition of the When Video Motion > () block.
Blocks
There are two stack blocks, one hat block and one reporter block. The are displayed here:
| Click on a block to learn more about it. |
when video motion > ()― Runs a script when the motion detected on the camera is greater than a certain amount.(video ( v) on ( v))― Reports the motion or direction on a sprite or the stage.turn video ( v)― Turns the video on or off.set video transparency to ()― Sets the transparency of the video to a percentage.
Cloud Variables

For privacy reasons, cloud variables are disabled when the Video Sensing extension is enabled in a project. If a project that contains both cloud variables and the Video Sensing extension is viewed, a message is displayed before the green flag is clicked, explaining how the cloud variables have been disabled in the project.
See also