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

Is Less Equal

PreviousIs Greater EqualNextSelect Data

Last updated 3 years ago

Was this helpful?

Overview

Is Less Equal is a relational expression Node, which compares two input values, and returns a Boolean, based on how the two values compare to each other in terms of inequality. The Node has two modes, determined by the Mode Attribute:

  1. IsLess - Whether the value of A is less than the value of B.

  2. IsLessEqual - Whether the value of A is less than or equal to the value of B.

Relational expressions are frequently used in combination with Branch Nodes and logical operator Nodes (AND, OR, and Negate) to create conditional logic, and are essential for building complex systems.

Due to their nature, inequality operations only work for numerical data types.

Attributes

Attribute
Type
Description

Data Type

Drop-down

The type of data that will be plugged into the A and B Sockets.

Mode

Drop-down

The type of expression that will be used when comparing the values.

Default Value A

Defined in the Data Type Attribute.

The value of A if no value is provided via the Node's Socket.

Default Value B

Defined in the Data Type Attribute.

The value of B if no value is provided via the Node's Socket.

Inputs

Input
Type
Description

Pulse Input (►)

Pulse

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

A

Defined in the Data Type Attribute

The value to be compared with B.

B

Defined in the Data Type Attribute

The value to be compared with A.

Outputs

Output
Type
Description

Pulse Output (►)

Pulse

A standard output Pulse, to move onto the next Node along the logic branch, once this Node has finished its execution.

C

Bool

Returns true if the value of A is less than (or equal to, depending on Mode) to B. If not, then it returns false.

External Links

on Wikipedia.

Relational operator