Checks its Truth input and executes the corresponding output.

If
If.png
TypeScript block
ColliderNone
FolderControl
Ports
Inputs Before
Condition
Outputs True
False
After
Example
Example

Notes

  • When no condition is attached, neither output wire will execute.

You can attach any of the "Math" Scripts that is shown here to the If: "Equal Truths", "Less Than", "Greater Than", "Equal Numbers", "Equal Vectors", "Equal Objects", "AND", Truth "OR" and Truth"NOT."