O'Reilly logo

Scratch™ 2.0 Programming for Teens, Second Edition by Jerry Lee Jr. Ford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9CONTROLLING SCRIPT EXECUTION

To create a script, you must know how to work with events and control code blocks. Events blocks let you initiate and coordinate script execution. Control blocks let you implement loops and conditional programming logic, which are the building blocks of advanced and complex applications. Control blocks can pause and halt script execution. They also allow you to clone and manage cloned copies of sprites.

The major topics covered in this chapter include

image How to use control blocks to initiate script execution

image

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required