Logic#

The Logic pages collect the Python tools that control project flow, store data, organize reusable code, and handle common calculations. Start here when you need loops, timers, variables, functions, and other core coding tools.

  • Control — Manage the flow of your project.

  • Timer — Measure durations, trigger events after a set time, or reset for new timing operations.

  • Variables — Hold information you want to save and use.

  • Functions — Group commands into reusable chunks of code.

  • Events — React to triggers and run code in parallel.

  • Operators — Perform math, comparisons, and other operations.

  • Math — Use built-in math functions and the math module for calculations.

  • Random — Generate random numbers, floats, and values from lists or ranges.