Google
for Education
Skip to content
CS First
Curriculum
Hour of Code®
Google
For Education
CS First
Curriculum
Hour of Code®
Help center
Sign in
Playback Speed:
Slow
Normal
Fast
Transcript
Instructions
Add an "if-else" block.
Make the "if" block check if the mouse button is pressed.
If the mouse button is pressed, make the pencil draw.
If the mouse button is not pressed, make the pencil stop drawing.
namespaces/google.engedu.csfirst/contents/Activity-42131807335312884816080273069610503329
en