And
True only if every connected value is true.
Node id logic/and
The And node outputs true if all the values connected to values are
true, and false as soon as one of them is false.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| values | boolean | — | multilazy |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | boolean |
Behaviour
- Any number of inputs.
valuesis a multi input: connect as many values as needed, each to its own slot. - Stops at the first false. Values are evaluated in slot order, and the ones after the first false are not evaluated at all. A failing node in those later slots doesn't make And fail.
- Nothing connected gives true.
Errors
- If one of the values it evaluates fails, And fails too and its branch is left out. The failing node is the one marked.