Use the And patch to make something happen when two conditions are met at the same time like the user’s mouth being open and eyebrows raised.
If either one of both conditions can be met to make something happen, use the Or patch.
Receive data from a patch sending a boolean signal.
Receive data from another patch sending a boolean signal.
Output the signal to the next patch.
In the example below, you can see an object appear when the user’s mouth opens and eyebrows raise at the same time.
To make the object appear, we used the following graph:
The Mouth Open output on the Mouth Open patch to the top input on the And patch.
The output on the Eyebrows Raised patch to the bottom input on the And patch.