Logic#

The Logic pages are about how your VEXcode project “thinks” and acts in different situations:

  • Controls let you manage the flow of your program.

  • 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 program 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.