Conditions
Conditions in Scratch are implemented using Control blocks. You can use control blocks to check for a condition and based on if the condition is true or false, the required code/script can be executed. Two of the most popular control blocks are:
- if-then: In this block, if the given condition is true the code/script present inside this block will execute. Otherwise, the code/script present inside this block will be ignored.
- if-then-else: In this block, if the given condition is true the code/script present inside this block will execute. Otherwise, the code/script present inside the else block will execute.
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 implement coding logic. It was developed by MIT’s Media Lab and it is free and can be used online on its, website, or it can be downloaded to use offline. It is available for operating systems like Windows, iOS, ChromeOS, Android 6.0+, etc. In this article, we will discuss the basics of Scratch.
Contact Us