This is a web-version of a tutorial chapter embedded right into the XOD IDE.
To get a better learning experience we recommend to install the
or start the
, and you’ll see the same tutorial there.
Choosing between values based on some condition is a common task. For this, there is an
if-else node in
COND pin of this node checks the boolean input value. If
COND receives true, the node sets the value from the
T pin to the
R pin. When it receives false, it sets the value from the
F pin to the
- Run the simulation.
- Change the value of the
tweak-boolean node, observe how
if-else output chenges.
tweak-boolean with a
TGL pin connected to a
Found a typo or mistake? Want to improve the text? Edit this page on GitHub
and open a pull request. If you have a complex proposal or you want to discuss the content, feel free to start a new thread on XOD forum