# AffectsProperty(StylePropertyName)

> Determines whether the ITransitionEvent affects the specified property.

## Definition

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

```csharp
public bool AffectsProperty(StylePropertyName stylePropertyName)
```

### Parameters

**** (\[StylePropertyName]\(/engine/6000.3/script-reference/unityengine/uielements/stylepropertyname)): The property to check against.

### Returns

| Type                                                          | Description                                                                                                                                                  |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the [ITransitionEvent](/engine/6000.3/script-reference/unityengine/uielements/itransitionevent.md) affects the specified property; otherwise, false. |
