Math

Gate Majority

Operators

Calculates the majority vote among three booleans

Docs for v2.1.16, the latest version.

ID

math-operators-gate-majority

Group

Operators

Plugin

Math

Keywords

majority
gate

Gate Majority

Operators

3 inputs, 1 output

Ports

Inputs

3

What the node takes in, from wires or typed values.

A

Boolean

Default true

First boolean input

B

Boolean

Default true

Second boolean input

C

Boolean

Default false

Third boolean input

Outputs

1

What the node gives out, to wire into other nodes.

Result

Boolean

Resulting value indicating the majority vote

Creation method#

There are two options for creating a Gate Majority node.#

  • The first way to create a Gate Majority node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • majority, gate
  • The second way is to select a Gate Majority node from the menu that opens from the top left.
    • Menu > Math > Gate Majority

Steps#

  • Create a Gate Majority node.
  • Connect to the ports for inputs A, B, and C.
  • The output will provide the majority value of the inputs (returns true if at least two of the inputs are true).

See also#

Gate And/Or
Gate Xor/Xnor
Gate Not

History

First documented in v2.1.16

Oct 20, 2026

Versions before it were published before changes were recorded.