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

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://malbersanimations.gitbook.io/animal-controller/main-components/manimal-controller/states/fall.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
