# anyState

> Returns true if the transition is from an AnyState node, or from Animator.CrossFade.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public bool anyState { get; }
```
