Skip to main content

Variables

Variable blocks provide functionality for creating and manipulating variables in your simulation.

Overview

Variables blocks enable you to store, retrieve, and modify data values in your StarLogo Nova simulations. These blocks are essential for maintaining state, tracking information, and passing data between different parts of your simulation logic.

Block Categories

Variable Access

  • Value Of - Gets the value stored in a variable

Variable Assignment

  • Set to - Sets a variable to a specified value

Variable Declaration

  • Var is - Declares and initializes a variable