RedNodeEditor
  • RedNodeEditor
  • Interface
    • Node list
    • Graph editor
  • Usage
    • Base nodes
    • Variables
    • Custom events
    • If statement
  • Building and using mods
    • Exporting and loading a mod
Powered by GitBook
On this page
  1. Usage

If statement

PreviousCustom eventsNextExporting and loading a mod

Last updated 1 year ago

If statement node is one of the most used and useful node we need. It allows to alter the flow based on a boolean input, allowing to execute different actions based on the results.

Examples with keyboard input:

Page cover image
If G is pressed continue the flow, else do nothing
If F6 is pressed call InitNew else listen for the E keypress