# hasActivePseudoState

> Returns true if this element matches the:active pseudo-class.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.3/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

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

### Remarks

For an example of how to use this property, refer to Check pseudo-state of a control.
