# Aim Target

## Overview

This component is used to add extra features to the Aimed Object when its hit by the Aim Component

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

<figure><img src="/files/5dMTlihNMWntgdunOqiz" alt=""><figcaption><p>The Aimed Object changes material when the Ray touches the object (Using the OnAim Enter On Aim Exit Events)</p></figcaption></figure>

Also, it can be  used as a Look At Zone if the Object has a Trigger:

{% embed url="<https://streamable.com/61vise>" %}

## Parameters

### Aim Assist

Centers the Aim Ray into this gameObject's collider

{% embed url="<https://streamable.com/aft461>" %}

### Aim Center

When Aim Assist is enabled, the Aim component will set as a target the Aim Center&#x20;

### Layer

Layer to filter what type of Aim Component owner will interact with this Aim Target

### Tag

Tags to filter what type of Aim Component owner will interact with this Aim Target

## Events

### On Aim Enter

Invoked when an Aimer Ray enters this gameobject collider

### On Aim Exit

Invoked when an Aimer Ray exits this gameobject collider


---

# 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/utilities/aim-target.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.
