# Decisions

## Overview

The decisions are logics that will be checked constantly while the Animal is playing an AI State. If the Animal&#x20;

## Common Properties

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MZG87JBobj382DdMOdX%2F-MZG8JR_4rTFgCKgVHer%2Fimage.png?alt=media\&token=0b6c2599-4723-4d59-93af-07d859a68cdd)

### Name

Name of the Decision

### Description

Description to fill what your Decision does.

### Decision ID

ID to identify which is the Decision playing at the moment. This is the value the Brain Event **On Decision Succeeded** will send.

### Send

If this value is Set to True it will send to the Brain if the Decision was true. if it is false it will send to the brain the False result.

### Interval

Interval time the Decision will be checked by the brain. Higher values will have better performance but less accuracy

## Default Decisions

## General

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FbSLbjnwyWZAPUHDnDYhz%2Fimage.png?alt=media&#x26;token=57000ee6-d37f-442c-8c7b-5486e8109cb5" alt=""><figcaption></figcaption></figure>

### [AND](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-and)

### [Check Stat](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-check-stat)

### [Compare Stats](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-compare-stats)

### [Look](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-look)

### [OR](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-or)

### [Is Task Done?](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-is-task-done)

### [Wait](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-wait)

###

## Movement

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FTCmZmdsHDkSA9oPUi5xa%2Fimage.png?alt=media&#x26;token=b758e13e-f3eb-4186-96e7-5be1dfd7d8cb" alt=""><figcaption></figcaption></figure>

### [Has Arrived](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/movement-has-arrived)

### [Check Target](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/movement-check-target)

### Animal

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FpCY4jM9QTqmoznfd3YkA%2Fimage.png?alt=media&#x26;token=49940055-dc8d-405b-b1d7-9af1de43dd1f" alt=""><figcaption></figcaption></figure>

### [Check Mode](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/animal-check-mode)

### [Check Stance](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/animal-check-state)

### [Check State](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/animal-check-state)

### Variables

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FgX7trsrrLvHKvv3k49QP%2Fimage.png?alt=media&#x26;token=7da41951-50f8-4423-b234-858a5d3c2c72" alt=""><figcaption></figcaption></figure>

### [Check Scriptable Variable](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/variables-check-scriptable-variable)

### [Check Transform Var](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/variables-check-transform-var)

### [Check Variable Listener](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/variables-check-var-listener)

### Runtime Set

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FVGVGZNQQ29MBZdUjCryO%2Fimage.png?alt=media&#x26;token=0be5bb34-84ee-4b3c-afa1-8b29cb91e4d1" alt=""><figcaption></figcaption></figure>

### [Is Target In Runtime Set](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/runtime-set-is-target-in-runtime-set)


---

# 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.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.
