Variables Blocks & Examples in Block Coding & PictoBlox
Variables Blocks & Examples in Block Coding & PictoBlox
Variables Blocks & Examples in Block Coding & PictoBlox
Variables
Extension Description
Variables blocks are related to storing and accessing data with Variables and Lists.
Introduction
Variables is one of the ten categories of default Scratch blocks. The variable blocks are color-coded
orange, and the list blocks are color-coded dark red.
Read More
PictoBlox Blocks
The block will set the specified variable to the given value: a string or number.
The block simply reports the items of its list as a string. Whenever a list is created, a version of the block
appears with the list’s name on it; this results in a version of this block for every list.
The block adds an item onto the end of the specified list, the item containing the given text.
The block can delete the item inputted from the specified list.
The block can delete all the items from the specified list.
The block can delete all the items from the specified list.
10
The block inserts an item containing the given text into the list, at the given position. All values below
the inserted item are passed onto the item beneath them; the last item’s value is placed in a new item at
the end of the list.
11
The block replaces the specified item; in other words, it changes the item’s content to the given text.
12
The block reports the value of the specified entry in a specified list.
13
14
The block checks if any items in the specified list are equal to the given text—if at least one of them is,
the block returns true; if none of them are, it returns false. The item must contain the exact text; for
example, “abc” would not work if the item contained “abcde”. This block is case-sensitive.
15
16
1
Bouncing Ball with Gravity
The example demonstrates how to add gravity into the
project on a bouncing ball.
3 Reciting Table
The example demonstrates how to use a repeat block to
recite a table in PictoBlox.
4
Shooting Bullets with Physics
In this example, we are making a rocket shoot bullets to the
mouse pointer when the space key is pressed.
Company
About Us
Blog
Partners and Distributors
Terms and Conditions
Privacy Policy
Careers
Community
Codeavour - AI Competition
Community Projects
Projects by STEMpedia
Example Projects
International Python Bootcamp
International Junior Blocks Bootcamp
International 3D and XR Studio Bootcamp
Products
Quarky - AI & Robotics Kit
Quarky Addon Kits
evive - STEM Kit
PictoBlox Software
Dabble App
School Programs
AI & Robotics Lab
Atal Tinkering Labs
STEM Innovation Lab
CBSE Aligned Coding & AI Lab
ICSE Aligned Robotics & AI Lab
Impact Programs
CSR & Government Impact Program
Learning Resources
Education Center
Courses & Teacher Resources
Product Documentation
Quarky Kits
evive Kits
PictoBlox Software
PictoBlox Extensions & Libraries
Dabble App
Arduino with PictoBlox
Get in Touch
Contact Us
Book a Demo
Request a Quote
Follow Us
Copyright 2024 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy