> 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/global-components/stats/modify-stat-less-than-asset-greater-than.md).

# Modify Stat \<Asset>

✔

## Overview

The modify Stat component is a great tool to modify a **Stats** component attached to a gameobject.&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MTSraCWA1NtPbe3gJ6o%2F-MTSt45dB_1nGnH4ZPGd%2Fimage.png?alt=media\&token=8ba6a2d1-e9bf-4141-9594-be5dc68c03be)

Usually is used with an Unity Event or it can be connected to an Event that has as a parameter a GameObject, Component or Monobehaviour property.&#x20;

![When an animal touches the collider it will add health to its stats component](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MTSraCWA1NtPbe3gJ6o%2F-MTSt-RE5o8S1IoXYpAx%2Fimage.png?alt=media\&token=925c40f6-6b43-40df-839b-98aa20ac9995)

To create a new Modify Stat asset go to **Create -> Malbers Animations -> Scriptables -> Modify Stat**

It uses the [**Stat Modifier**](/animal-controller/global-components/stats/stat-modifiers.md)  class to modify each stats.
