If

From Fancade Wiki
If
If.png
TypeScript block
ColliderNone
FolderControl
Ports
Inputs Before
Condition
Outputs True
False
After

Checks its Truth input and executes the corresponding output.

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", "OR" and "NOT."