# Mode Align

## Overview

When a mode is activated in the Animal, it will align with a nearby Animal or a Collider within a given radius.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FdjHI1X5OnNt7I2NBWLsV%2Fimage.png?alt=media&#x26;token=971b8c66-f9e2-4088-a487-55489aed7565" alt="" width="561"><figcaption></figcaption></figure>

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

## Parameters (Alignment)

### Animal

Reference for the Animal using the Mode Align

### Search Radius&#x20;

Distance to find animals and colliders around the animal

### Distance

The radius used push closer/farther the Target when playing the Mode

### Align Time

Time needed to complete the alignment

### Front Offset&#x20;

The Offset of the Animal to use as a Pivot point for the orientation for the alignment

### Ignore Close

Ignore Moving the character if we are already too close to the target. Only apply the look at rotation

## Parameters (Filter By)

Layer

What layer to use while searching for a target to align

Tags

&#x20;Target needs to have any of the Malbers tags in order to activate the alignment &#x20;

Modes

What modes the main animal will check to activate the alignment &#x20;

Exclude Abilities

Abilities to ignore in the activation of the alignment &#x20;

Ignore States

Skip the alignment it the target animal is on any of these states (E.g. Death)
