If: Difference between revisions

From Fancade Wiki
(Updated the page)
(→‎Notes: Content)
Tags: Reverted Mobile edit Mobile web edit
Line 16: Line 16:
== Notes ==
== Notes ==
* When no condition is attached, neither output wire will execute.
* 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."




[[Category:Blocks]]
[[Category:Blocks]]

Revision as of 16:43, 7 September 2025

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."