1 00:00:00,420 --> 00:00:02,400 in this tutorial you will learn how 2 00:00:02,400 --> 00:00:05,910 to activate actions for certain conditions first 3 00:00:05,910 --> 00:00:07,050 of all we need to go to 4 00:00:07,050 --> 00:00:10,800 sensing conditions can be for example touching 5 00:00:10,800 --> 00:00:13,770 the mouse pointer touching a specific color 6 00:00:14,160 --> 00:00:16,200 or when the color is touching another 7 00:00:16,200 --> 00:00:19,050 color first we will need the action 8 00:00:19,590 --> 00:00:20,160 so in sound 9 00:00:20,160 --> 00:00:21,930 so we are going to choose play 10 00:00:21,930 --> 00:00:25,170 sound until done this is the action 11 00:00:25,170 --> 00:00:27,510 that will be activated when the conditions 12 00:00:27,510 --> 00:00:28,500 become true 13 00:00:29,880 --> 00:00:32,220 next in control we need to select 14 00:00:32,250 --> 00:00:35,610 forever and then if then when the 15 00:00:35,610 --> 00:00:37,680 condition here will be either one of 16 00:00:37,680 --> 00:00:41,190 these so for example we can play 17 00:00:41,190 --> 00:00:44,100 sound here you can change the type 18 00:00:44,100 --> 00:00:46,680 of sound and then we can select 19 00:00:46,680 --> 00:00:48,960 which condition we want so for this 20 00:00:48,960 --> 00:00:49,680 example we 21 00:00:49,680 --> 00:00:52,290 you're going to use touching mouse pointer 22 00:00:52,890 --> 00:00:55,350 here you can also change was touching 23 00:00:56,280 --> 00:00:58,170 so if we try this out when 24 00:00:58,170 --> 00:01:00,840 the mouse touches the cat it'll make 25 00:01:04,590 --> 00:01:06,690 it doesn't it doesn't make a noise 26 00:01:09,690 --> 00:01:13,470 next we use the condition touching color 27 00:01:14,040 --> 00:01:16,860 for example if we choose the color 28 00:01:16,890 --> 00:01:19,320 of the other sprite then when one 29 00:01:19,320 --> 00:01:22,350 sprite one touches that color the sound 30 00:01:22,350 --> 00:01:22,980 will play 31 00:01:38,970 --> 00:01:41,400 the last option is when one color 32 00:01:41,430 --> 00:01:44,340 is touching another color for example we 33 00:01:44,340 --> 00:01:46,890 can select the orange from sprite one 34 00:01:47,640 --> 00:01:49,170 and we can select the red from 35 00:01:49,170 --> 00:01:53,280 sprite to so when the orange touches 36 00:01:53,280 --> 00:01:53,910 the red 37 00:01:54,690 --> 00:01:56,910 then the sound will be activated