Incari Studio
2.0
2.0
  • Incari Studio Documentation
  • Getting Started
    • Requirements
    • Installation
  • Interface
    • Logic Editor
    • Project Outliner
    • Global Preferences
    • Attribute Editor
    • Material Editor
  • Objects
    • Project Objects
      • Scene
      • Screen
    • Scene Objects
      • Camera
      • Group
      • Lights
      • List
      • Mesh
      • Sprites
        • Sprite
        • Text
  • Toolbox
    • Array
      • Array Value
      • Clear Array
      • Concat Arrays
      • Get Array Element
      • Length of Array
      • Pop Array Element
      • Push Array Element
      • Set Array Element
    • DateTime
      • Date Time Formatter
      • Now (UTC)
      • System Time
      • Timezone Value
    • Events
      • Keyboard
        • On Key Press
        • On Key Release
    • Flow Control
      • Branch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
    • Math
      • Add
      • Boolean
        • AND
        • Negate
        • OR
      • Ceil
      • Clamp
      • Divide
      • Floor
      • Maximum
      • Minimum
      • Modulo
      • Multiply
      • Power
      • Range Mapper
      • Root
      • Subtract
    • Incari
      • List
        • Generate List
        • Next List Entry
        • Previous List Entry
        • Select List Entry
        • Set Active
        • Set Current Index
      • Object
        • Get Alpha
        • Set Alpha
        • Get Scale
        • Set Scale
        • Get Rotation
        • Set Rotation
        • Get Position
        • Set Position
        • Get Visibility
        • Set Visibility
        • Set Tint
        • Get Tint
        • Get Material
        • Set Material
        • Set Text
    • Utilities
      • Group
Powered by GitBook
On this page
  • Overview
  • Attributes
  • Inputs
  • Outputs
  • External Links

Was this helpful?

  1. Toolbox
  2. Flow Control

Branch

PreviousFlow ControlNextIs Equal

Last updated 3 years ago

Was this helpful?

Overview

Branch triggers one of two Pulses, based on whether or not the Input value is true or false. Branching is a fundamental part of conditional logic and at a high level it basically means "If this is true, do this; if not, do this". Although the Node takes a single condition, this condition can be composed of multiple other conditions when used in conjunction with relational expression Nodes (Is Equal, Is Greater Equal, and Is Less Equal), logical operator Nodes (AND, OR, and Negate), and other Branch Nodes.

Attributes

Attribute
Type
Description

Default Value

Bool

The default value if one is not provided in the Input Input Socket.

Inputs

Input
Type
Description

Pulse Input (►)

Pulse

A standard input Pulse, to trigger the execution of the Node.

Input

Bool

The true or false condition to determine which of the two output Pulses are executed.

Outputs

Output
Type
Description

OnTrue (►)

Pulse

The Pulse will be triggered if Input is true.

OnFalse (►)

Pulse

The Pulse will be triggered if Input is false.

External Links

  • ext

on Wikipedia.

Conditional (computer programming)
The Branch Node.