# Fall

## Overview

The Fall State allows the animal to fall down when there is no ground beneath him. The **ID** value for this state is **3.**

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

## Creating the Fall State

To create a new Fall State. use the Plus \[+] button on the States list

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

Or duplicate any of the already created Wall Run States Assets of any character you own and drag it to the States List.

## Priority

The state should have a higher priority than [**Idle**](/animal-controller/main-components/manimal-controller/states/idle.md), [**Locomotion** ](/animal-controller/main-components/manimal-controller/states/locomotion.md)but below [**Death**](/animal-controller/main-components/manimal-controller/states/death.md)**,** since the animal can be killed at any time. Set it above states that will not be interrupted when the fall is active.

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

## Requirements

The fall will use the main pivots of the animals  to cast the ray from the Chest of the character.

## Activation

The Fall State is an automatic state. Its activation conditions is to cast a Ray from the chest to the ground using the Animal Height or Main Pivot (Chest). If no ground was found then the state will be activated.&#x20;

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

<figure><img src="/files/7EJ3mpGqL3SF6NeZ3hIn" alt=""><figcaption><p>If the Fall Ray (Pink) does not hit any Collider with the Ground Layer Mask it will activate.</p></figcaption></figure>


---

# 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/manimal-controller/states/fall.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.
