# 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="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FZE3R3SPceb37TPpzh3Z1%2Fimage.png?alt=media&#x26;token=6cd6ab32-7355-4d12-8f1f-6bd6ae3e6e9d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F2QuFDXOPH5p8tk5WC90P%2FUnity_VpvmRiH6Ui.gif?alt=media&#x26;token=77b582db-8e1c-4583-b7fd-31ead659d907" 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
