Scratch 2
About this book
The ability to code will become an essential skill in a fast-changing future. Coding education is a part of the national curriculum in many countries, such as the UK, Finland, Japan, and China. Students are able to acquire computational thinking skills, which can help them to analyze and solve problems logically. CodingTime is a coding education academy located in Seoul, South Korea. For many years, we have helped students achieve their educational goals. This book will help students to excel in programming. Students will learn how to use the Scratch program to code in a fun and easy way. They can make algorithms and get a glimpse of mathematics and science principles used in programming, while building their own project.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information

Chapter5. Mouse input

01 Touch the hedgehog
A sound will play as it changes.

https://scratch.mit.edu/projects/440089087

(HINT: Check the [Costumes] tab of the hedgehog sprite.)
(HINT: See sensing palette.)
(HINT: See the [Sounds] tab of the hedgehog sprite.)

button. Click the new sprite
button and select [Hedgehog]
sprite.

anywhere on the stage.

to see the names of the
costumes. Pick the costumes
the sprite will change to. (For
example, Hedgehog-a and
Hedgehog-d.)
as Hedgehog-a when green
flag is clicked.
[Events] > [When Green Flag
Clicked]
[Looks] > [Switch Costume to
Hedgehog-a]
touches the hedgehog.
[Control] > [If O Then]
[Sensing] > [Touching O?]

touches the hedgehog,
make the costume switch to
hedgehog-d.
[Looks] > [Switch Costume
to O▼] - click ▼ to select
hedgehog-d.
it make a “pop” sound.
[Sound] > [Start Sound O▼]

costume to hedgehog-a] block.
To see what happens, touch the hedgehog with your mouse.
after the green flag button is
clicked, the computer senses a
mouse movement only once.
Therefore, the [forever] block is
essential for repeatedly sensing
a mouse input.
To see what happens, touch the hedgehog with your mouse.

[Garden-rock] backdrop.
happen when the mouse-pointer touches the hedgehog.


02 Grab the grasshopper
Click it and it will say “You got me!”

https://scratch.mit.edu/projects/440089252/

is satisfied

[x] button. Click the new
sprite button and select
[Grasshopper] sprite.

random position.
[Motion] > [Go to random position]
infinitely. It should repeat only until a
specific condition is satisfied.
other word...
Table of contents
- 시작
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
