# General - Compare Stats

Checks for a Stat value in the AI Animal and the Current Target, Compares the values using the condition

<figure><img src="/files/3Vku3hqDpMmYeVQrceCk" alt=""><figcaption></figcaption></figure>

## Additional Parameters

### Own Stat

Your own Stat to use

### Compare

What do you want to compare? Equal To? Less than? Greater Than etc.

### Target Stat

Target Stat to compare against.


---

# 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://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-compare-stats.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.
