# Comparsion

The comparison trigger monitors the conditions under which numbers or variable values meet the comparison conditions. Comparison conditions can be as follows:

<figure><img src="/files/FHShNo7oIle32LHVUUQr" alt=""><figcaption></figcaption></figure>

* **(=) Equal** - variables or numbers are equal
* **(≠) Not Equal** - variables or numbers are not equal
* **(>) More** - the first variable or number is greater than the second variable or number&#x20;
* **(≥) More** - the first variable or number is greater than or equal to the second variable or number&#x20;
* **(<) Less** - first variable or number less than the second variable or number&#x20;
* **(≤) Less** - the first variable or number less than or equal to the second variable or number

You can change the comparison condition in an already created trigger by clicking the icon between the parameters being compared.

The comparison objects can be:&#x20;

* **Numbers**, you can compare to numbers or numeric variables&#x20;
* <img src="/files/SA88CJl91AD8DKvNqv1b" alt="" data-size="line"> **Numeric variables**, can be compared to numbers and other numeric variables&#x20;
* <img src="/files/dGJtmlWebivTA4iM7wWM" alt="" data-size="line"> **Boolean variables**, can only be compared to boolean or numeric variables. When comparing with numeric variables, the value is false=0, true=1.&#x20;
* <img src="/files/7P8mpcQHPQVTYp0ZsD39" alt="" data-size="line"> **Variables of object type**, can be compared only with variables of object type. Comparison can be performed only by conditions (=) or (≠)&#x20;
* <img src="/files/uSHZ72HbPGwGF65TiNa2" alt="" data-size="line"> **Variables of the tag type**, can be compared only with variables of the tag type. Comparison can be made only by conditions (=) or (≠).

Comparison of variables of different types has no sense (except for numeric and boolean variables) and will be triggered only when comparing by (≠).

Events are tracked by 4 states Started, Continue, End,False

#### Comparsion Started

![](/files/hEyj0bgSLMu87QqwzjfP)

The trigger is activated as soon as the specified expression becomes true. If it has been true since the game started, the trigger will not work.

#### Comparsion Continue

![](/files/gCUYEQwCSkvzND27htIe)

The trigger activates and continues as long as the specified expression remains true.

#### Comparsion Ended

![](/files/KA3cIxubZPMCE0qtsGVD)

The trigger activates as soon as the specified expression is no longer true. If it has been false since the game started, the trigger will not work.

#### Comparsion False

![](/files/mXP9YmpkyD4d4aZ4BWJs)

The trigger activates and continues its operation as long as the specified expression remains incorrect.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.manu.co/learn/manual/triggers/comparsion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
