Logic#

The Logic pages collect the blocks that control how a project runs, makes decisions, stores information, and stays organized. Start here when you need to repeat actions, wait for a trigger, compare values, or save information for later in the project.

  • Control lets you manage the flow of your project.

  • Timer lets you interact with the built-in timer.

  • Events help you react to triggers like sensor changes or button presses.

  • Operators do things like math and comparisons.

  • Variables hold information you want to save and use.

  • My Blocks let you group chunks of code to keep your project organized.

  • Comments help you remember what each part of your code does.

All together, they help you code projects that make decisions, respond in real-time, and keep your code neat and easy to understand.