Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • CBSE
  • Class 9 Syllabus
  • Maths Notes Class 9
  • Science Notes Class 9
  • History Notes Class 9
  • Geography Notes Class 9
  • Political Science Notes Class 9
  • NCERT Soln. Class 9 Maths
  • RD Sharma Soln. Class 9
  • Math Formulas Class 9
Open In App
Next Article:
Basics of Scratch Programming
Next article icon

Introduction to Scratch Programming

Last Updated : 21 Jul, 2021
Comments
Improve
Suggest changes
Like Article
Like
Report

Scratch is an event-driven visual programming language developed by MIT. In Scratch, we can create our own interactive stories, games, and animations using building blocks. In this platform, we do not need to write code to perform operations, things are done just by drag and drop, just like visual basic. It is the best platform to start basic programming by creating attractive animation effects. There are so many features available in Scratch, such as video games, animations, stories, sound, events, etc. It is a free platform created by the Lifelong Kindergarten group at MIT in the Media lab. It is developed in ActionScript and JavaScript and is compatible with any operating system. It has been translated into more than 70 languages and used in most parts of the world. 

Uses of Scratch: Scratch is made to learn basics programming concepts with fun. It is a tool for creating interesting games, stories, and more block-based programming. It has its own paint editor and sound builder. Anyone can start learning programming from Scratch even they do not have previous knowledge about programming languages and programming concepts. 

Elements of Scratch

There are the following four main elements of Scratch and they are:

  1. Programming Palette
  2. Stage Area
  3. Sprites
  4. Script

Programming Palette 

It contains all the essential tools which are required to program a sprite to do or say something. Every element of a program, such as a loop, condition available in the programming palette.

Blocks

It contains puzzle-piece shapes that are used to create code in Scratch. These blocks are connected to each other vertically like puzzle pieces. Every block has its own shape that prevents syntax errors. Once these blocks are connected, they are called scripts. These are the following six different shapes available in Scratch: Hat, Stack, Boolean, Reporter, C, and Cap. 

Stage Area

This is a place where everything takes place, such as animations, turtle graphics either in a small or normal size, with a full-screen option also available. It uses X and Y coordinates to monitor action with 0, 0 being the stage center. All the action by a sprite is performed here. 

Sprites

These are the main characters of the program. It is a graphical element that is programmed using a programming palette. All the action is performed on the sprites. By default, with a cat avatar display on the sprite panel, users can also draw their own sprite.

Script

In the script, everything defines what kind of operation should be done by sprites. It tells the characters what to do or say. Every single sprite is programmed with a script.

How to download Scratch in your system?

To download Scratch in your system follow the following steps. 

Step 1: Open this link scratch.mit.edu/ in your browser and select your operating system. In this example, we will download Scratch in Windows 10. 

Note: Offline Scratch application available in Windows, macOS, Android, and Chrome OS.  

Step 2: After the selection of the operating system scroll down and select a downloading option. It is also available on Microsoft Store. Select direct download and downloading will be started. 

Step 3: Once downloading will be done double click on the downloaded executable file (.exe) as shown in the image below, double-click. 

Once the installation process is done search scratch in your application list and opens it. 

How to create a program in scratch?

Step 1: Open scratch editor. 

Step 2: Drag the “when green flag clicked” or “when space key pressed”, or “when sprite I click” block from the events block to the script because every scratch program starts with a control block.

Here, 

  • when green flag clicked: It means the project begins when the green flag(present at the upper left corner of the stage) is clicked.
  • when space key pressed: It means the project begins when the space bar is clicked. Here, you can also change the key according to your requirement.
  • when sprite I click: It means the project will begin when you click the sprite. 

Step 3: Drag “start sound meow” block from the sound block and place it below the “when green flag clicked” block. This block is responsible for generating a meowing sound.

Step 4: Drag “move 10 steps” block from the motion block and place it below the “start sound meow” block. Now change the number from 10 to 100.

Step 3: After completion of script, click on the green flag execution button to execute your program, and your cat moves 100 steps with a meow sound. 

Advantages of scratch

  • The interface design of scratch is simple so that it is easier to understand for kids as well as for adults.
  • It allows students to develop 21st-century skills with the help of technology.
  • It is generally designed for kids. So that they can easily learn a new computer language.
  • It is free to use. 

Disadvantages of scratch

  • Scratch is open so anybody on the internet can get your work without your permission.
  • Teachers can not monitor what student is creating in the scratch.


Next Article
Basics of Scratch Programming
author
vikashgautam11
Improve
Article Tags :
  • Class 9
  • School Learning
  • School Programming
  • Scratch-programming

Similar Reads

  • What is Iteration in Scratch Programming?
    Scratch is a high-level visual programming language tool that interacts with users through diagrams and blocks that have the basics of a program inbuilt in it. Scratch is used to make interactive programs especially for kids using the block kind of interfaces so that they can easily learn languages
    7 min read
  • Script in Scratch Programming
    Scratch is an event-driven programming tool developed by the Lifelong Kindergarten group at MIT in the media lab to create your own games, visual programs, interactive stories using building blocks. To create a program in Scratch we do not need to write code to perform operations. In Scratch, the op
    4 min read
  • Introduction to Programming Languages
    Introduction: A programming language is a set of instructions and syntax used to create software programs. Some of the key features of programming languages include: Syntax: The specific rules and structure used to write code in a programming language.Data Types: The type of values that can be store
    13 min read
  • What is Conditional Programming in Scratch?
    Scratch is a high-level visual programming language tool that interacts with users through diagrams and blocks that have the basics of a program inbuilt in it. Scratch is used to make interactive programs especially for kids using the block kind of interfaces so that they can easily learn languages
    5 min read
  • Basics of Scratch Programming
    Scratch is a programming language. Programming language is meant that a means of communicating with the computer, so as to give some instructions for it to perform. Programming in Scratch is very easy, including animation and games. It is a very useful tool for young kids or creators to learn and im
    6 min read
  • Variables in Scratch Programming
    Scratch is a high-level visual programming language tool that interacts with users through diagrams and blocks that have the basics of a program inbuilt in it. Scratch is used to make interactive programs especially for kids using the block kind of interfaces so that they can easily learn languages
    7 min read
  • Introduction to Visual Programming Language
    Any language that uses the graphics or blocks that are already defined with the code and you just need to use those blocks without worrying about the lines of code is known as a visual programming language. In today's era majority of the programming languages are text-based i.e. we have to write the
    6 min read
  • Ask(), Wait() and Answer() Block in Scratch Programming
    Scratch is a high level visual programming language tool that interacts with users through diagrams and blocks that have the basics of a program inbuilt in it. Scratch is used to make interactive programs especially for kids using the block kind of interfaces so that they can easily learn languages
    4 min read
  • School Programming
    This page is designed for beginners in programming language, especially school students. It has the following sections. Introduction to Programming LanguagesLearning a Programming LanguageProgramming Problems and SolutionsPractice ProblemsRecent School Coding ArticlesRecent School Coding Practice Pr
    7 min read
  • Computer Science and Programming For Kids
    Welcome to the exciting world of Computer Science & Programming! In this article, designed to introduce Computer Science for Kids or Coding for Kids, you will get to know what is coding for kids and learn & explore the fascinating world of Computer Science and Programming. Suppose you have e
    15+ min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences