0% found this document useful (0 votes)
26 views

How To Make A Simple Timer in Scratch.

How to make a simple timer on scratch

Uploaded by

Debarghya Das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

How To Make A Simple Timer in Scratch.

How to make a simple timer on scratch

Uploaded by

Debarghya Das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

How to make a simple timer in

Scratch.
By Debarghya
Making a Scratch
Account
First, you have to have a Scratch account. To
make a scratch account, you have to type
Scratch in your search engine. Then you have
go to make an account. You have to fill out
some details and verify your email to have a
good scratch account.
How to make your first
project.
Now that you have your account, you need to
make a project. You have to go to the top right
corner and press create.
Timer Time!!!
Making a variable.
You now see all of these blocks. On the left
side of the screen, you click variables and
you press make a variable. You can name the
variable anything you want but you should
name it Timer because we are making a
timer.
The Coding.
You first click Events and grab When Flag
Clicked. Then you click Variables and get Set
___ to 0. Click the ___ and click Timer (your
variable). Then you grab that block of code and
put it under the When Flag Clicked. After that,
you click Control and grab the Forever Loop.
You put that under the Set Timer to 0.
The Coding (Part 2)
The rest of the code will be inside the Forever
Loop. You then go to Wait _ Seconds, type 1 in
the _, and then drag it inside the forever loop.
The final block of code will be in the Variables
section. You grab Change ___ by 1. Replace
the ___ with Timer (Your Variable). Then drag
that inside the Forever Loop.
Let’s See It In Action.
Now you just have to press the green flag in the
top right corner and you see it is a full
functioning timer.
How Does It
Work???
When you get the When Flag
Clicked, it makes it so that
when you click the flag, the
code actually starts. When you
get the Set Timer to 0, it makes
sure every time you click the
flag, it resets.
How Does It
Work(Part
2)???
The Forever Loop makes it so
that everything inside of it
repeats forever. Then the Wait
One Second and Change
Timer by 1 makes it so that
every second, the variable
Timer increases by one which
makes it like a real timer.
Well anyways, you have
made a timer so now
farewell.
Bye
I barely worked on this. Mwahaha

You might also like