add_logical_operator_node
Add logical operator nodes (AND, OR, NOT, XOR) to Unreal Engine Blueprints for combining boolean conditions. Specify blueprint name and optional operator and position.
Instructions
Add a logical (boolean) operator node.
Ch.2: Logical operators combine boolean conditions:
AND: True only if BOTH inputs are true
OR: True if EITHER input is true
NOT: Inverts a boolean (True→False, False→True)
XOR: True only if inputs are DIFFERENT (exclusive OR)
Args: blueprint_name: Blueprint name operator: "AND", "OR", "NOT", "XOR" node_position: Optional [X, Y] graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_logical_operator_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operator | No | AND | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |