🔬
Docs
  • 👋Vision lines from CEO
  • 📖Documentation
    • Getting Started
      • Introduction
      • Setting Up an Account
      • User Interface
        • Account
        • Project Manager
        • Diagram Editor
          • Main Canvas
            • Nodanomics Menu
            • Node Toolbox
            • Control Bar
            • Function Buttons
              • Node Explorer
            • Node Properties Drawer
          • Execution Graph
      • Creating Projects
        • Creating Diagrams
    • Nodes
      • Overview
      • Connections
      • Data-type Nodes
        • Data
        • Origin
        • Sink
        • Dataset
      • Logic-type Nodes
        • Formula
        • Loop
      • Event-type Nodes
        • Event Trigger
        • Event Listener
    • Tutorials
      • First diagram creation
      • Import existing diagram
      • Examples
        • Gatcha System
  • Use Cases
    • 🎯For Web3 Marketing Agencies
  • BUSINESS MODEL
    • 🎮For Blockchain Ecosystems
    • 🎮For Tokenomics Agencies
  • AI Tools
    • Tokenomics Architect
    • Step-by-step manual guideline
Powered by GitBook
On this page
  1. Documentation
  2. Nodes
  3. Logic-type Nodes

Loop

PreviousFormulaNextEvent-type Nodes

Last updated 1 year ago

The Loop Node is useful to create code loops within the diagram.

Under the node's Property Drawer, you can define the amount of loops to be executed. This value can either be static, that is, a defined number of times, or dynamic, using the Tag System.

The use of dynamic values is very useful for defining loops that should increase or decrease based on other variables. An example of such scenario would be creating a general player game loop and having a player base counter (using Data Node) assigned to the loop count. In this manner, it's possible to calculate outcomes for each individual player in the player base.

Input/Output

The Loop Node has multiple Chain Connection and Logic Connection inputs and outputs. There are outer and inner connection points.

The outer connection points are used to interface the Loop Node with other nodes in the diagram and the inner ones are used to interface the nodes within the loop itself.

The right-most inner Chain Connection point is the End Connection for the loop. Once it is triggered, the loop will break, executing the next chained node (outer Chain Conneciton point).

📖
Image 1. Micro Loop Example.