20 likes | 143 Vues
In Scratch programming, variables are essential for storing information and can only hold numerical values. Creating a variable allows you to manipulate it within your program, using oval-shaped blocks in script spaces. Broadcasts function as messages that trigger scripts, starting activities within your project. They can be sent with "Broadcast" and "Wait" blocks and responded to using "When I Receive." Threads enable concurrent actions, allowing multiple tasks to run simultaneously, enhancing the interactivity and complexity of your Scratch projects.
E N D
Broadcast Variable Variables are used to store information for use in programs. Scratch can store only number values in a variable which can be dropped in to any program block space with an oval shape. Make a variable in the variables page and set the tick box depending on whether you want to allow the person to view and change the value. A broadcast is a message that is sent through the Scratch program , starting scripts. Broadcasts are sent with the Broadcast and Wait, and are received by the When I Receive. Broadcasts are useful in games and animations, as they starts scripts. Thread a thread is like a mini-program within a program that can started at the same time as other threads. A program with a lot of threads, then can do multiple things at once. In Scratch, any block whose label begins with when is the start of a thread