Stack Block

Stack block is a rectangular block that is shaped to fit above and below other blocks. Stack blocks make up the majority of the blocks available in Scratch, being available in every category except Operators.

Execution Process

When 2 stack blocks are connected to form a script their commands will execute in the order from top to bottom. The entire collective stack executes in a single frame. For example, take the following script:

Pressure data display on screen

evive Alert
Alert: Extremely long and intensive scripts could take a long time to process and may actually have a notable enough elapsed time.

Stack Blocks With Delay

Some stack blocks do execute with a delay, meaning there may be a pause between it and the next block executing. The following blocks have this behavior:

Shape

Stack blocks are fitted with a puzzle-piece like a shape; the top has a notch and the bottom has a bump. Because of this shape, scripts can stretch on and on — the block tessellates.

Use

As Stack blocks are shaped to allow blocks above and below them, they are used almost everywhere in a script; scripts must always have a Stack block in them to be functional.

This work, “Stack Block”, is a derivative of “Stack Block” by Scratch, used under CC BY-SA 4.0. “Stack Block” is licensed under CC BY-SA 4.0 by STEMpedia.

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
Dabble Home Connected

Getting Started with Dabble

Introduction Dabble App transforms your Smartphone into a virtual I/O device and lets you control hardware using Bluetooth, communicate with it, access sensors like accelerometer,…
evive-brain

Interfacing evive with PictoBlox

This tutorial discusses how to interface evive with PictoBlox, the evive palette, the two modes for writing scripts in PictoBlox, and how to upload a script to evive.
PictoBlox blocks Scratch how to

Getting Started with PictoBlox

PictoBlox is a programming software based on Scratch, where you can make interactive games, animations or program robots and projects with evive, Arduino, etc..
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart