---
title: "Compare Operator"
url: "https://help.maxon.net/c4d/en-us/Content/html/GVCMP.html"
section_path: "XPresso > XPresso Nodes > Logic (Group) > Compare Operator"
element_id: "GVCMP"
description: "This node compares two values using one of several comparison operators and outputs the result as a Boole. The node outputs a value of 1 if the comparison …"
---

# Compare Operator

![Image: 004735.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/004735.jpg)

This node compares two values using one of several comparison operators and outputs the result as a Boole. The node outputs a value of **1** if the comparison evaluates to **True** or a value of 0 if the comparison evaluates to **False**. In the **Attribute Manager**, choose the comparison operator from the Function drop-down list.
