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

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-6dcfcaca7671e10742a8212ca84ba66bf2ddb832%2Fattribute_condition.gif?alt=media)

## 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!

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-527a12eca3e66373f8e989f35cae590682418c52%2FAttribute_ActionsAndConditions_01.png?alt=media)

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

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-daedc4894b825433477f5a925d355fa1decb577e%2FAttribute_ActionsAndConditions_02.png?alt=media)
