# Step Trigger

This script uses the **OnTriggerEnter** callback to detect if the feet of the animal is colliding with the **Ground Layer,** from the  [**Steps Manager**](https://malbersanimations.gitbook.io/animal-controller/utilities/steps-manager). It will send upwards to the [**Steps Manager**](https://malbersanimations.gitbook.io/animal-controller/utilities/steps-manager) where the contact was made so it can place the **tracks, dust particles** and play a **step sound**.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzwgAjSkeQKH2vfmkEc%2F-Lzwh4pFdqOTpEKSQQod%2Fimage.png?alt=media\&token=e4e807ed-a361-400a-8269-c0cc3c7a4102)

{% hint style="danger" %}
This Component requires any type of **Collider.** Usually has a Sphere collider attached to it.
{% endhint %}

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzwgAjSkeQKH2vfmkEc%2F-Lzwh7NSSYyQxnJSYJDR%2Fimage.png?alt=media\&token=8722624b-be46-4e46-b5c9-54e062b4e413)
