# Conditions

**Attributes** comes with a set of **Conditions** that allows you to *check* whether an actor has enough mana or strength or if health went down etc...

## Condition Attribute Compare

With this condition you can check every value of an *attribute* within an *Actor* like: [**Value**](https://njg.gitbook.io/gc-modules/~/drafts/-LGYBUg5rvA5jswJTE97/primary/rpg/rpg/attributes#concepts), [**Consumable Value**](https://njg.gitbook.io/gc-modules/~/drafts/-LGYBUg5rvA5jswJTE97/primary/rpg/rpg/attributes#concepts) and [**Bonus**](https://njg.gitbook.io/gc-modules/~/drafts/-LGYBUg5rvA5jswJTE97/primary/rpg/rpg/attributes#concepts)**.** And also [**Percent** ](https://njg.gitbook.io/gc-modules/~/drafts/-LGYBUg5rvA5jswJTE97/primary/rpg/rpg/attributes#concepts)and [**Last Time Modified**](https://njg.gitbook.io/gc-modules/~/drafts/-LGYBUg5rvA5jswJTE97/primary/rpg/rpg/attributes#concepts) values.

![](/files/-LGYHGe7t9DVKE56iDGR)

## Condition Attribute Changed

This condition allows you to check whether a attribute went down or not. For example, using actor's attribute changed event and by adding this condition if health went down then play hurt animation and show some blood!

![](/files/-LGYJqqLJl2I1h8fzMqP)

## Condition Attribute Last Influence

This condition allows you to check who was the last influence of the attribute. For example, if another actor hurts your player that will affect your health and then it's going to become the last influence of the health attribute. You can use this with any attribute.

![](/files/-LGYKD_FT3M9TSelFTS3)


---

# 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://docs.ninjutsugames.com/game-creator-1/rpg/attributes/conditions.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.
