# Ease(Func<float, float>)

> Sets the easing function.

## Definition

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

```csharp
public ValueAnimation<T> Ease(Func<float, float> easing)
```

### Parameters

**** (\[Func\<float, float>]\(https\://learn.microsoft.com/dotnet/api/system.func-1)):&#x20;

### Returns

| Type                                                                                                         | Description |
| ------------------------------------------------------------------------------------------------------------ | ----------- |
| [ValueAnimation\<T>](/engine/6000.3/script-reference/unityengine/uielements/experimental/valueanimation1.md) |             |
