Scratch comes with several pre-made modules that can save you a lot of time and even program functions that cannot be programmed with the rest of your available tools.
One of these modules is the video sensing module. It allows you to use video captured using the camera in real-time. Here's how you can add it to your projects.