Skip to main content

Traits

Trait blocks allow you to define and manage agent traits and properties.

Overview

Traits blocks enable you to customize agent appearance, manage custom properties, and control visual effects in your StarLogo Nova simulations. These blocks are essential for creating diverse agent populations with unique characteristics and behaviors.

Block Categories

Trait Access

  • My - Gets the value of the current agent's trait
  • Of - Gets the value of another agent's trait

Trait Modification

  • Set My To - Sets the value of the current agent's trait
  • Set Of To - Sets the value of another agent's trait

Appearance

  • Color - Gets or sets the agent's color
  • Color RGB - Sets the agent's color using RGB values
  • Built-In Shape - Sets the agent's shape to a built-in shape
  • Uploaded Shape - Sets the agent's shape to an uploaded custom shape

Visual Effects