1 00:00:06,835 --> 00:00:09,209 Now that you've learned how to use Sprite Lab, 2 00:00:09,209 --> 00:00:11,489 you're going to want to make your program react 3 00:00:11,489 --> 00:00:12,749 when someone plays with it. 4 00:00:13,326 --> 00:00:15,626 To do that, you're going to use events. 5 00:00:16,220 --> 00:00:21,300 Blocks like `when clicked` and `while touches` are called event blocks. 6 00:00:21,796 --> 00:00:23,936 The code connected to an event block 7 00:00:23,936 --> 00:00:25,586 runs when the approprite input, 8 00:00:25,586 --> 00:00:28,936 like a click or a tap, is detected. 9 00:00:31,990 --> 00:00:36,546 For example, if you attach this `change size by` block 10 00:00:36,546 --> 00:00:45,646 to the `when Alien 1 clicked` event the sprite will change size when it's clicked. 11 00:00:49,693 --> 00:00:53,043 Notice that event blocks don't snap into your main program. 12 00:00:53,043 --> 00:00:55,603 Instead, they create little programs of their own. 13 00:00:57,404 --> 00:01:00,934 Remember that even if the event only happens one time, 14 00:01:00,934 --> 00:01:03,254 behaviors will go until you stop. 15 00:01:05,214 --> 00:01:07,430 You can use a `stops` block 16 00:01:07,430 --> 00:01:10,050 if you don't want multiple events to combine behaviors. 17 00:01:32,391 --> 00:01:35,321 Using events, you can create imaginative programs 18 00:01:35,321 --> 00:01:36,861 and interactive worlds. 19 00:01:36,861 --> 00:01:37,731 Give it a try!