# Conditions

Conditions are available inside both PartReference attributes, as well as Rules.

PartReference attribute conditions serve as a tag-filter. They are available as both explicit AND (&) or as implicit ALSO.

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

Rule Conditions are only available as a direct comparison of value.

**All listed conditions inside a rule must be met, for the actions to execute.**

The only event trigger available in the UI is for an attribute having changed its value.

There is currently no way to compound multiple conditions with OR, or combinations of OR and AND. ELSE and ELSE IF are not currently available either.

The available conditions are context-sensitive, depending on the type of attribute being used for comparison.

### Conditions List

1. **Attribute has changed** - event triggered when the attribute’s value has changed, typically by the front end user
2. Attribute **is any of / is none of** listed values (applicable only to  Item or Asset types)
3. Attribute’s Item or Asset has the given **metadata key=value** pairs (applicable only to  Item or Asset types)
4. Attribute **= or !=** listed value (applicable only to  Number, String, Boolean, and Color types)
5. Number Attribute **>, >=, <, <=** listed value
6. String Attribute Value **Includes or Doesn’t Include** listed String
7. **Layer** - Check if Listed Layer Name inside the Listed Composite Asset is currently being rendered


---

# 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://community.threekit.com/platform-documentation/catalog-2.0-docs/project-data/logic/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.
