Variables store changeable data during program execution. Each has a name and holds data types like numbers, strings, objects, or Booleans.
Drag the "make" block from the Operations3D palette, name the variable, and use "assign" to set its value.
Alice supports numbers, strings, objects, and Booleans (true/false). Match the data type to the assigned value.
Local variables are accessible only within their creation block. Global variables can be used anywhere in the program.
Use the "assign" block to change a variable's value during execution.
Modify object properties (position, color, size) by changing variable values.
Control movement and appearance dynamically for interactive animations.
Chapter 4 includes projects reinforcing variable creation, updating, and usage for object manipulation and user input response.