Mode:
Duration:
1
2
3
4
5
6
7
8
9
when green flag clicked
forever
if <key [right arrow] pressed?> then
change x by 10
end
if <key [left arrow] pressed?> then
change x by -10
end
endCoding works best on desktop or with an external keyboard.
when green flag clicked
forever
if <key [right arrow] pressed?> then
change x by 10
end
if <key [left arrow] pressed?> then
change x by -10
end
endCoding works best on desktop or with an external keyboard.
A simple Scratch project where a sprite moves across the screen and responds to arrow keys.
when green flag clicked
forever
if <key [right arrow] pressed?> then
change x by 10
end
if <key [left arrow] pressed?> then
change x by -10
end
endScratch is a visual block-based programming language developed by MIT, designed to teach programming concepts through drag-and-drop code blocks, animations, and interactive stories. It is widely used in education for beginners and young learners.
Origin & Creator
Scratch was created by the Lifelong Kindergarten Group at MIT Media Lab, led by Mitchel Resnick. The first version was released in 2003, with Scratch 2.0 in 2013 and Scratch 3.0 in 2019.
Industrial Note
Scratch isn’t used in professional software development, but is highly influential in early education, STEM programs, and teaching computational thinking to children.