Xor

Read with AI
All docs in one file (llms-full.txt)
Xor

Reduces A and B to true/false and compares them, outputting 1 to Result if only one of them is true, and 0 if both are true or both are false. It recalculates and outputs whenever either A or B changes.

  • The test is (A >= 1.0f) != (B >= 1.0f)
  • The node has numeric input fields for A and B, so you can type values in directly without connecting ports

The true/false boundary is 1.0, not 0. 0.5 is treated as false.

Input ports

Port IDType
Afloat
Bfloat

Output ports

Port IDType
Resultfloat

Scriptable members

PathType
currentValueAfloat
currentValueBfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "xor" })

Pages linking here