The 'World' Drawer


Can someone help me with how to explain to my students the ‘world’ code?


Just like the Sprite objects are a collection of values functions that represent a sprite, there is a single World object that represents the larger “world” of your program. This allows you to use information about the world in your program (like how long it’s been running using World.seconds). There are also some other blocks in that category that, while not explicitly part of the World object, are blocks that we associate with the world as a whole, such as the keyDown block.