# Events

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

## Overview

There are several tabs with various different events that can be invoked based off of Movement, States, Stances, Modes, Speeds and more!

## Movement Events

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

### On Sprint (Bool)

Invokes when character is sprinting - check out the [**Locomotion**](/animal-controller/main-components/manimal-controller/states/locomotion.md)[ ](/animal-controller/main-components/manimal-controller/states/locomotion.md)page for further details.

### On Movement Detected (Bool)

Invokes when any movement is detected

### On Strafe (Bool)

Invokes when strafing is detected/turned on

### On Grounded (Bool)

Invokes when the character is grounded

### On Teleport (Bool)

Invokes when the character is teleported

## State Events

<figure><img src="/files/8ZxUdvZiA1YjJsxjEzF8" alt=""><figcaption></figcaption></figure>

### On State Change (Int32)

Invokes when the state changes from one state to another

### On State Profile (Int32)

Invoked if the State is using State profile. This value is the Animator parameter Value for State Profile. E.g. Glide has different profiles (0 -> Paraglider, 1 -> Wings, 2 -> Umbrella)

### On Enter/Exit States

Invokes On Enter or On Exit events when you either enter or exit a state.

## Stance Events

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

### On Stance Change (Int32)

Invokes when the stance changes from one to another

### On Enter/Exit Stance

Invokes On Enter or On Exit events when you either enter or exit a stance

## Modes Events

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

{% hint style="info" %}
You can also access all of the different mode events for your different abilities from this location as well below the standard events in this section.
{% endhint %}

### On Mode Start (Int32)

Invokes when a mode starts

### On Mode End (Int32)

Invokes when a mode ends

## Speeds Events

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

### On Enter/Exit Speeds

Can invoke when entering and exiting different speed sets, which can be specified via the Speed Set and the Speed Index

### On Speed Change (MSpeed)

Invokes when the speed changes between sets.

## Extra Events

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

### On Movement Locked (Bool)

Invokes when the movement on the Animal component is locked

### On Input Locked (Bool)

Invokes when the input on the Animal component is locked

### On Animation Change (Int32)

Invoke the Animation Namehash integer value everytime an animation changes in the animator.


---

# 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/events.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.
