AND
Overview
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-65cfc4fc6dbd28d3752410b04f71192f6ce0308d%252Fandnodeupdatedimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=cf3d676a&sv=1)
AND is a logical operator Node, which combines two or more Boolean expressions to yield a Boolean value, based on the inputs' logical relationship to one another. The Node outputs a true value if all of its inputs are also true. This is the equivalent of the &&
operator in computer programming.
Input 1 | Input 2 | Output |
---|---|---|
True | True | True |
True | False | False |
False | True | False |
False | False | False |
Scope: Project, Scene, Function, Prefab.
Attributes
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-1e1db050743a014b2a3db6f385e8fe827ce595df%252Fnode-and2-attr.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=2f2b9134&sv=1)
Attribute | Type | Description |
---|---|---|
| Int | The amount of input Sockets the Node will have (the number of Boolean values that will be checked). |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard input Pulse, to trigger the execution of the Node. |
| Bool | The Boolean values to be checked. |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Bool | True if all of the input Boolean values are also true. Otherwise false. |
See Also
External Links
Logical operation on Computer Hope.
Last updated