> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/main-components/ai/animal-brain/decisions/general-look.md).

# General - Look

Last updated AC v1.5.3

The animal will look for an Object using a Cone View

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FkreMHRWhpPK7ZZtweNYa%2Fimage.png?alt=media&#x26;token=33fa12ca-257c-4455-8496-08592752c992" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Looking for the Player (AC v1.5.3):** the `Main Animal Player` option is **obsolete** and no longer finds anything, because the `MAnimal.MainAnimal` singleton was removed (it could only track one player). Use **Malbers Tag** with the **Player** Tag instead, or **Transform Var** when you already have a reference to the character.

Assets still set to `Main Animal Player` show a warning in the inspector with two buttons: **Use Malbers Tag \[Player]** and **Use Transform Var**. To convert every Look Decision in the project at once use `Tools/Malbers Animations/Tools/Convert Obsolete Look Decisions to Malbers Tag [Player]`. Your player characters need a [**Tags**](/animal-controller/scriptable-architecture/scriptables/tags.md) component with the `Player` Tag.
{% endhint %}

## Additional Parameters

### Look Range

The range for looking forward and finding something

### Look Angle

The angle betwen 0-360 to find something

### Look Multiplier

Allows you to shorten the look ray to not find ground by mistake

### Look For

What to Look for. Various Options Include:

* **Malbers Tag** (default). Looks for every GameObject carrying any of the Tags in the **Tags** list. Use the `Player` Tag to find the player(s).
* **Unity Tag**
* **Zones**
* **GameObject** (by name)
* **Closest Waypoint**
* **Current Target**
* **Transform Var**
* **GameObject Var**
* **Runtime GameObject Set**
* **Last Damager**. The last character that damaged this animal (requires a Damageable component).
* ~~Main Animal Player~~ **(Obsolete)**. Kept only so old assets still load. It always fails; switch to Malbers Tag or Transform Var.

### Tags

The Malbers Tags to look for when **Look For** is set to Malbers Tag.

### Choose Randomly

When several objects are found, pick one of them randomly instead of the closest one.

### Obstacle Layer

What are the layers to look out for for obstacles that would block the vision?

### Assign Target

Do we assign target to the found object when found?

### Move To Target

Do we set a Move To order when we find the object?

### Reaction On Self / Reaction On Target

Reactions executed on the animal and on the found object when the decision succeeds.

### Debug Color

What color is the display in the scene view showing our look range?
